Hi Corona community,
Is there a way to send email from within my app outside of tapping the "send" button in native.showPopup("mail")?
I would like to do this as I want to display a custom dialog to compose email.
Thanks in advance!
Best Answer Rob Miracle , 05 February 2019 - 10:35 AM
For security reasons, Apple and Android are going to want you to use a device control to do this like the popup you're talking about. However, neither prevent you from having a web server with a script that you can post an email address, subject, and body too and have the web server be responsible for sending the message. You could optionally use Socket IO and open your own port to an SMTP server under your control, but that gets really tough because you're going to have to learn encryption, authentication on top of socket IO to make it that way.