Can't send email attachments on Android w/ 6.1.1 or 6.5 DP1 :(

Roger Eller roger.e.eller at sealedair.com
Tue Sep 24 21:12:16 EDT 2013


 I have exactly the same problem as in this *unanswered* thread.
http://www.mail-archive.com/use-livecode@lists.runrev.com/msg43416.html

My device is running Android 4.1.1 and I've tried LiveCode 6.1.1 and 6.5
DP1.

The attachment shows up in the email client, but fails to include
attachment during send.


*Here's my script:*

   *put* mergStoragePath("downloads") into tPath *-- mergAndroid*

   *set* the defaultFolder to specialFolderPath("External Documents") &
tPath

   *put* specialFolderPath("External Documents") & tPath & "/Prova.txt" into
 LocalFile

   *put* URL ("binfile:" & tLocalFile) into mydata *-- read local file*

   *put* mydata into tAttachment["data"]

   *put* "text/plain" into tAttachment["type"]

   *put* "Prova.txt" into tAttachment["name"]

   mobileComposeMail "Test E-mail", "myAddress at company.com",,, "Sent from
Android.", tAttachment
~Roger



More information about the use-livecode mailing list