multiple email attachments [android]

Moderators: LCNeil, heatherlaine, kevinmiller, elanorb

Post Reply
newtronsols
Posts: 192
Joined: Tue Mar 11, 2014 12:57 pm

multiple email attachments [android]

Post by newtronsols » Wed Jul 09, 2014 1:42 pm

In the newsletter article http://newsletters.livecode.com/july/is ... etter4.php it mentions mutiple email attachments with the code:

put Hello World! into tAttachments[1][data]
put text/plain into tAttachments[1][type]
put Greetings.txt into tAttachments[1][name]
put Goodbye World! into tAttachments[2][data]
put text/plain into tAttachments[2][type]
put Farewell.txt into tAttachments[2][name]
mobileComposeMail tSubject, tTo, tCCs, tBCCs, tBody, tAttachments

I am testing this with image files and it appears to work on android as well! I thought others might find this useful.

Post Reply

Return to “idea2app and Coding School”