file attachment to email

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Jellobus
Posts: 319
Joined: Tue Dec 10, 2013 2:53 pm

file attachment to email

Post by Jellobus »

Hi,

I tried so many times to attach picture files but I haven't succeed yet.

put image "abc" into pAttachment["data"]
put "image/jpeg" into pAttachment["type"]
put "abc" into pAttachment["name"]
mobileComposeUnicodeMail pSubject, pRecipient, empty, empty, pContents, pAttachment

Image "abc" is already imported to the stack. Something must be wrong here but can't find what it is :roll: ... please advice.

Thanks in advance!


Louis
Simon
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3901
Joined: Sat Mar 24, 2007 2:54 am

Re: file attachment to email

Post by Simon »

Hi Louis,
Try the stack in this bug report (mobile email attachment 3 ways) it's all fixed.
http://quality.runrev.com/show_bug.cgi?id=11895

Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Jellobus
Posts: 319
Joined: Tue Dec 10, 2013 2:53 pm

Re: file attachment to email

Post by Jellobus »

Thank you Simon. It works It works!!! :mrgreen:
Post Reply