Question:
Is there a possibility to redirect a user to the default mail application on the push tap?
Answer:
Yes. Put a mailto: link into the On-click actions section of the push content form (the Web Page URL / deep link field) when you create the message or the push preset. The field is free text, so any URI scheme is accepted.
You can specify the address to send an email to, the subject and the body of the message. For example:
mailto:address@example.com?subject=Just%20some%20subject!&body=And%20here%20is%20the%20body
It is also possible to send the same link via the Remote API. Simply specify it in the link parameter of the /createMessage request (or in the equivalent field of the newer Messaging API v2, which /createMessage is being superseded by):
"link": "mailto:address@example.com?subject=Just%20some%20subject!&body=And%20here%20is%20the%20body"
Comments
0 comments
Please sign in to leave a comment.