Can I do that using Corona?

Hi guys,

Is there a way to implement the following features in my app:

  • Mail: I need to send emails with picture attachment in the body of the email (only reference in the manual is Mail links: mailto:nobody@mycompany.com, which means no support for that)
  • Besides (gestures) touch, tap and drag, can I pinch images to zoom them in/out? what about flick?

Thanks,
Alex [import]uid: 4883 topic_id: 905 reply_id: 300905[/import]

Hi Alex,

Corona includes luasocket which includes smtp support. Check out http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/smtp.html for more information on it.

As for the flick stuff, flick is the drag event, and Corona now has multitouch support, so implementing pinch to zoom should be pretty simple.

  • Nick [import]uid: 70 topic_id: 905 reply_id: 2153[/import]

Thanks Nick. Problem with that is the fact the user cannot see the body before they send the message (which is required in my app). [import]uid: 4883 topic_id: 905 reply_id: 2202[/import]

Why not? Implement a multiline textfield, then they can see it before you send this. [import]uid: 5712 topic_id: 905 reply_id: 2204[/import]

problem with this approach is the fact user will not be able to select recipients from his Contacts, right? [import]uid: 4883 topic_id: 905 reply_id: 2209[/import]

Sure, you can’t retriev contacts at the moment and I don’t know if that will be ever possible. [import]uid: 5712 topic_id: 905 reply_id: 2212[/import]