Attach a photo to an email?

I asked this question before a while ago but maybe someone has figured this one out by now.
Is it possible to automaticaly attach a picture to an email which you create using the systemURL command?

Thanks,
Patrick. [import]uid: 4589 topic_id: 5799 reply_id: 305799[/import]

scroll down to the bottom:
http://w3.impa.br/~diego/software/luasocket/old/luasocket-2.0-beta/smtp.html

worked for me
[import]uid: 6645 topic_id: 5799 reply_id: 19895[/import]

Something like this would make a great addition to the “Code Exchange” section or a sample app. [import]uid: 31262 topic_id: 5799 reply_id: 21815[/import]

how do you want it to work?
[import]uid: 6645 topic_id: 5799 reply_id: 21891[/import]

I don’t mean to hijack Patrick’s thread, but since you’re asking I would think having a page with text fields on it and an image with an email button, and pressing that button would create an email with all of these things included in it. Nice and simple yet covers all bases I think.

Would appreciate this very much! And probably something many will need down the line as more people use Corona for something more than making games. [import]uid: 31262 topic_id: 5799 reply_id: 21951[/import]

but you’ll need some way of filling in your smtp details (username, password, server) right? or is this a personal project where you’ll hardcode that into your Lua file?
[import]uid: 6645 topic_id: 5799 reply_id: 21986[/import]

I was hoping to have this running on an iPhone and it could launch an email using the default mail account on that phone. [import]uid: 31262 topic_id: 5799 reply_id: 21990[/import]

won’t work. [import]uid: 6645 topic_id: 5799 reply_id: 22038[/import]

So the only way this will work is to have it use a hard coded smtp server? Or were you hinting that you would have to code a place that the user can configure their smtp settings in your app? [import]uid: 31262 topic_id: 5799 reply_id: 22094[/import]