There appears to be discussion of, what I assume is our problem, in the Apple Support Communities.
<https://discussions.apple.com/thread/5992793> <https://discussions.apple.com/message/25177460#25177460> This would indicate that it isn’t a LC issue. — Scott On May 13, 2014, at 8:48 AM, William de Smet <williamdes...@gmail.com> wrote: > Hi Scott, > > I have asked the same thing before on the list. > Never got an answer. So nobody uses this or there is no solution. > Maybe it's a bug? > > greetings, > > William > > > > 2014-05-13 9:33 GMT+02:00 Scott Morrow <sc...@elementarysoftware.com>: > >> >> Using mobileComposeHtmlMail to send a PDF attachment works as expected >> under iOS 6 >> but under iOS 7 the email to be sent (in the iOS 7 mail app) has a small >> box with a question mark instead of the pdf attachment icon (I also tested >> a text attachment and that seems to display correctly) >> There does not appear to be an error during the creation of the pdf and in >> some cases the mail client on the receiving end displays the pdf >> attachment. Unfortunately, on some mail clients the pdf fails to show up. >> I’m wondering if anyone else is seeing this or can suggest what I might be >> doing incorrectly. >> < LC 6.6.1, 6.6.2 (rc 3) and 6.7 (dp 3) > >> >> -- construct an attachment array >> -- tFilePath is the path to a pdf >> put empty into aAttachments -- init >> set the itemDel to SLASH >> put item -1 of tFilePath into tAttachmentName >> set the itemDel to COMMA -- tidy >> put tFilePath into aAttachments[1]["file"] >> put "pdf" into aAttachments[1]["type"] >> put tAttachmentName into aAttachments[1]["name"] >> -- ————————————————————————————————————————— >> -- assume tSubject, tToAddress, tCC, tBCC, tBodyAsHTML were previously >> populated >> -- ————————————————————————————————————————— >> -- send the e-mail >> mobileComposeHtmlMail tSubject, tToAddress, tCC, tBCC, >> tBodyAsHTML, aAttachments >> >> >> — >> Scott Morrow >> >> Elementary Software >> (Now with 20% less chalk dust!) >> web http://elementarysoftware.com/ >> email sc...@elementarysoftware.com >> office 1-800-615-0867 >> ------------------------------------------------------ >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode