Enclosed file with revMail?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rliefer
Posts: 3
Joined: Thu Jul 24, 2008 5:42 pm

Enclosed file with revMail?

Post by rliefer » Mon Aug 04, 2008 5:11 pm

Is there a way to enclose a file with the email created by the revMail command? Or is there any other way to send an email with an attached file? Thanks.

Janschenkel
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 977
Joined: Sat Apr 08, 2006 7:47 am
Contact:

Post by Janschenkel » Mon Aug 04, 2008 6:51 pm

Try Sarah Reichelt's SMTP library - you can find it along with other Revolution stuff at: http://www.troz.net/Rev/libraries.php

Hope this helped,

Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com

Garrett
Posts: 386
Joined: Sat Apr 08, 2006 8:15 am
Contact:

Post by Garrett » Mon Aug 04, 2008 8:47 pm

I replied to your "Feature Request" on this. You need to encode the attachments using base64 and actually put that text resulting from the encoding into the email itself. Attachments are not sent as separate files in emails, they're all in one file, the email itself. Which can be done in Rev already. Check the docs for base64encode and base64decode.

Post Reply