i do some tests with the new showpopup(“email”) … with attachments and predefined infos.
all fine, BUT … is there no option to send the generated email automatically without the need
of the user to click “send”.
In my case, I like to send a Passwort reminder to a specific email.
For sure, it does not make sense if the user would already see the password in the email before sending it. (it may be the wrong person using actually the device).
How to send the email immediately?
thx
chris
[import]uid: 4795 topic_id: 19734 reply_id: 319734[/import]
I can’t answer your original question, however wouldn’t it be better to store the passwords on a server?
Your app could then request a password reminder to be sent, but the email would be sent from the server. Wouldn’t that be more secure? [import]uid: 70847 topic_id: 19734 reply_id: 76389[/import]
I used that system on several other apps before.
Downside is: I don’t use, need any of that passwords, so why should I store them on my server.
They are stored IN the Device. Perfect. So when someone can’t go in my App, he could simply
say … send pw to original email account that was stored also in the device while creating the pw.
Good for the User. He can be sure, I don’t store ANY of his data in a cloud or external.
And when he needs his pw, he could simply get it back to his email that he entered while creating the pw.
hope it will be soon able to send that email automatically.
its so simple to realize that in native apps (android/ios), so please Ansca… make that possible
chris
[import]uid: 4795 topic_id: 19734 reply_id: 76390[/import]
In the mean time (while Ansca thinks about auto-send), what about if your app sends the pw/email-address (POST for temporary use) to your server and then uses php to compose and send the email? [import]uid: 70847 topic_id: 19734 reply_id: 76394[/import]
The way Corona SDK sends email and SMS is using an Apple framework that is designed specifically to avoid auto sends. While it doesn’t help you, Apple wants to make sure a human actually sends the message.
You have two options…
Use Lua sockets and open up a port to you’re own SMTP server (someone just posted the code in another forum post!) then you can send that way.
Or you can have a server send it on a request from your app as suggested above.
[import]uid: 19626 topic_id: 19734 reply_id: 76422[/import]