multiple email attachments [android]
Posted: 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.
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.