Page 1 of 1

Enclosed file with revMail?

Posted: Mon Aug 04, 2008 5:11 pm
by rliefer
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.

Posted: Mon Aug 04, 2008 6:51 pm
by Janschenkel
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.

Posted: Mon Aug 04, 2008 8:47 pm
by Garrett
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.