playMaker

Author Topic: open email[SOLVED]  (Read 1899 times)

nabilfx

  • Full Member
  • ***
  • Posts: 186
open email[SOLVED]
« 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:
« Last Edit: July 11, 2019, 02:34:14 AM by jeanfabre »

daniellogin

  • Full Member
  • ***
  • Posts: 215
Re: open email
« Reply #1 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.

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: open email
« Reply #2 on: July 10, 2019, 11:42:07 PM »
Yes i want to open the external program, the default email sender from ios and android

daniellogin

  • Full Member
  • ***
  • Posts: 215
Re: open email
« Reply #3 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).

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: open email
« Reply #4 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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: open email
« Reply #5 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

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: open email[SOLVED]
« Reply #6 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: open email[SOLVED]
« Reply #7 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

nabilfx

  • Full Member
  • ***
  • Posts: 186
Re: open email[SOLVED]
« Reply #8 on: July 19, 2019, 06:17:27 AM »
Thanks it works!