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: 317
Joined: Tue Dec 10, 2013 2:53 pm

file attachment to email

Post by Jellobus » Fri Aug 08, 2014 9:01 pm

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 » Sun Aug 10, 2014 2:44 am

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: 317
Joined: Tue Dec 10, 2013 2:53 pm

Re: file attachment to email

Post by Jellobus » Tue Aug 12, 2014 1:01 am

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

Post Reply