[Resolved] Creating Mails with system.openURL command

Hi
I try to send a mail with the system.openURL command but the app allways crash on the iphone. I have tested with the example in the documentation.

iOS 5.0.1
CoronaSDK 2012.797

system.openURL(“mailto:nobody@mycompany.com?subject=Hi%20there&body=I%20just%20wanted%20to%20say%2C%20Hi!”)

is this correct? 2.nd Question is there also a solution to create a mail with html body to send pictures?

Thanks
Michael
[import]uid: 96270 topic_id: 25866 reply_id: 325866[/import]

Try using native.showPopup() instead;
http://developer.anscamobile.com/reference/index/nativeshowpopup

That should work fine.

I don’t believe at present HTML body works, though I need to check on that - you can attach an image from the phone however.

Peach :slight_smile: [import]uid: 52491 topic_id: 25866 reply_id: 104622[/import]

Thanks, thats what I’m looking for… will test this immediatly :wink:
Michael [import]uid: 96270 topic_id: 25866 reply_id: 104630[/import]

No worries Michael, let me know how you get on :slight_smile:

(Marking as resolved but any issues just bump.) [import]uid: 52491 topic_id: 25866 reply_id: 104811[/import]

works perfect :slight_smile:
[import]uid: 96270 topic_id: 25866 reply_id: 104832[/import]

Great, thanks for letting me know - am very happy to hear that :slight_smile: [import]uid: 52491 topic_id: 25866 reply_id: 104877[/import]