Emai From In App - Avalible on Daily Build?

Hi, is it now possible to email from with an app and attach a image to the email. I see the Daily builds now say case effected like this: native.showPopup( “mail” [, options] ).

If it is possible is a more in depth explation of guide of attaching image to an email? [import]uid: 21298 topic_id: 19471 reply_id: 319471[/import]

Yes it is possible, I believe we’ve got more docs coming shortly for this.

Peach :slight_smile: [import]uid: 52491 topic_id: 19471 reply_id: 75227[/import]

We’ve just added a new API page covering this feature. Please see the link below…
http://developer.anscamobile.com/reference/index/nativeshowpopup

Here is an example:
[lua]local options =
{
subject = “Hello World!”,
body = “This is my message.”,
attachment = { baseDir=system.ResourceDirectory, filename=“MyFile.png”, type=“image” }
}
native.showPopup(“mail”, options)[/lua]
[import]uid: 32256 topic_id: 19471 reply_id: 75249[/import]

Hey @Joshua Quick ,

have to stop here and say: Thank You!

Very nice to have this feature available already! :slight_smile:

BTW you`re really proud of your nickname - Joshua Quick - haha :slight_smile:

Merry Christmas mate!

Cheers,
Rodrigo. [import]uid: 89165 topic_id: 19471 reply_id: 75262[/import]

Thanks Rodrigo! Implementing that feature was a team effort here at Ansca. I just did my part on Android. Merry Christmas to you too! :slight_smile: [import]uid: 32256 topic_id: 19471 reply_id: 75443[/import]

Hey Joshua surely you all are an awesome team! :slight_smile:

Merry Xmas for all of you of the A+(nsca) Staff!

PS: Hey…please…Mr. Carlos & Walter toO! Thank Heads! :slight_smile:
Cheers,
Rodrigo.

[import]uid: 89165 topic_id: 19471 reply_id: 75446[/import]

How do we use quotes in the body to allow for more HTML formatting?

Thanks. [import]uid: 54770 topic_id: 19471 reply_id: 77538[/import]

Never mind ic now encapsulate in [].

douuhh [import]uid: 54770 topic_id: 19471 reply_id: 77585[/import]

iphonedev,

You can also add double quotes within a Lua string by surrounding the string with apostrophes instead. For example…
[lua]local myString = ‘My “quote” test.’[/lua]

Double brackets is a good solution when you want to include newlines ‘\n’ within your string. For example…
[lua]local myString = [[This is line 1.
This is line 2.
This is line 3.]][/lua]

I hope this helps! [import]uid: 32256 topic_id: 19471 reply_id: 77619[/import]