Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nabilfx on July 10, 2019, 07:01:07 PM

Title: open email[SOLVED]
Post by: nabilfx on July 10, 2019, 07:01:07 PM
It is possible to open the default IOs and Android emal, on click of a buttom, with playmaker:
Title: Re: open email
Post by: daniellogin on July 10, 2019, 11:39:09 PM
I have no idea, but am curious why.

I would suggest though that you include why, or what other things you need it to do at the same time. I mean like, do you want it to pre-fill the receiver address or something? So like a feedback button?

Does it have to be the actual IOS e-mail program? Did you know that e-mails can be sent without a program or even a sender e-mail account used? For example, think about websites that have you fill out a form to contact them. They send the e-mail via code running off the website. Something like that sounds easier to do in a game than to open an external program.
Title: Re: open email
Post by: nabilfx on July 10, 2019, 11:42:07 PM
Yes i want to open the external program, the default email sender from ios and android
Title: Re: open email
Post by: daniellogin on July 11, 2019, 12:16:02 AM
Does it need to pre-fill any information? Start a new e-mail? Or just open it?

If it just opens it... phones have a button for that right? I think to be able to get the best help you need to say why you need to do it or at least other related requirements (like the above).
Title: Re: open email
Post by: nabilfx on July 11, 2019, 12:19:28 AM
Open the email, with the email that i need to send in it, if it possible the subject too.
Title: Re: open email
Post by: jeanfabre on July 11, 2019, 02:34:00 AM
Hi,

 yes, you, need to format the url like this:

Code: [Select]
mailto:name@email.com
https://www.rapidtables.com/web/html/mailto.html

Bye,

 Jean
Title: Re: open email[SOLVED]
Post by: nabilfx on July 18, 2019, 07:39:03 AM
where i add this to work with playmaker
mailto:name@email.com

I need to open the email of the IOS and android, on click
Title: Re: open email[SOLVED]
Post by: jeanfabre on July 19, 2019, 03:39:55 AM
Hi,

 it's a url, so you would use the custom action ApplicationOpenUrl and you would use mailto:name@email.com as the url to open and the OS will understand that as a command to open the default mail client.

 Bye,

 Jean
Title: Re: open email[SOLVED]
Post by: nabilfx on July 19, 2019, 06:17:27 AM
Thanks it works!