Is there any feature in corona where you can send email without using your own email?
I mean the user only clicks send and whatever that text or attachment is will be send automatically without using the default email client and the users personal email? [import]uid: 189861 topic_id: 33616 reply_id: 333616[/import]
I think you could get this working with a remote php script. Basically you would pass the email params with JSON to your PHP script which would then send it for you.
I don’t know if there are better ways, but this one has the advantage of being able to change stuff (for example the email address the mail is sent to) without needing to update your app.
Hope this helps! [import]uid: 113596 topic_id: 33616 reply_id: 133649[/import]
You could use Corona’s Lua sockets to open a port directly to an SMTP server and basically write your own mail sending agent. It would be a lot of work so @kristianarve’s idea may be the easiest to implement.
Apple may not like it, in particular if it presents an opportunity to spam someone. [import]uid: 199310 topic_id: 33616 reply_id: 133664[/import]
You can google for tutorials on Lua sockets. I can’t think of one off of the top of my head.
[import]uid: 199310 topic_id: 33616 reply_id: 133766[/import]
I see, but can you send me any tutorial for Lua socket? Just in case apple won’t like @kristianarve’s way. Thanks both of you. [import]uid: 189861 topic_id: 33616 reply_id: 133760[/import]
Ok
[import]uid: 189861 topic_id: 33616 reply_id: 133786[/import]
I think you could get this working with a remote php script. Basically you would pass the email params with JSON to your PHP script which would then send it for you.
I don’t know if there are better ways, but this one has the advantage of being able to change stuff (for example the email address the mail is sent to) without needing to update your app.
Hope this helps! [import]uid: 113596 topic_id: 33616 reply_id: 133649[/import]
You could use Corona’s Lua sockets to open a port directly to an SMTP server and basically write your own mail sending agent. It would be a lot of work so @kristianarve’s idea may be the easiest to implement.
Apple may not like it, in particular if it presents an opportunity to spam someone. [import]uid: 199310 topic_id: 33616 reply_id: 133664[/import]
You can google for tutorials on Lua sockets. I can’t think of one off of the top of my head.
[import]uid: 199310 topic_id: 33616 reply_id: 133766[/import]
I see, but can you send me any tutorial for Lua socket? Just in case apple won’t like @kristianarve’s way. Thanks both of you. [import]uid: 189861 topic_id: 33616 reply_id: 133760[/import]
Ok
[import]uid: 189861 topic_id: 33616 reply_id: 133786[/import]