facebook

Alternate return screen after sendmail function

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #347511 Reply

    Robert Gardner
    Participant

    Hello,

    After invoking the native sendmail function I would like to return to a different screen/page from which the function was called. For example, I want to display an “email sent successfully” notification to the user. It could be a message or a different screen.

    Thank you,

    #347519

    Code_A
    Member

    I believe in order to do this you would need to set your onclick property to run JavaScript instead of send email. Then you would need to manually compose the email and send with the sendmail function, then follow that up with a gotoscreen call to change screens or use phoneui.alert to display a message.

    The problem I see here is that mobione itself cannot send mail, instead it opens the email application on the device with the email already composed and then the user has to click send to actually send the email. The point being that to my knowledge there really isn’t a way to confirm the email was sent successfully.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Alternate return screen after sendmail function

You must be logged in to post in the forum log in