[ale] using uuencode to create a viewable email attachment

Brian W. Neu ale at advancedopen.com
Sat Jan 16 14:29:31 EST 2010


so I tried

uuencode tester.sh tester.sh |mail -s "mail test" my at email.com
            &
uuencode -m tester.sh tester.sh |mail -s "mail base64 test" my at email.com

Both open in Thunderbird as content of the email body and not an
attachment such as:

begin-base64 750 tester
IyEvYmluL2Jhc2gKIy91c3IvbG9jYWwvYmluL3JzeW5jIC1hTkhBWHggLS1wcm90ZWN0LWFyZ3Mg
LS1maWxlZmxhZ3MgLS1mb3JjZS1jaGFuZ2UgLS1yc3luYy1wYXRoPSIvdXNyL2xvY2FsL2Jpbi9y
-blah,blah,blah-


I've tried mailx, and using echo prior to the uuencode out put, but the uuencoding still displays as the message body and not an attachment.

Any suggestions?

Oh, this is on an OS 10.5 iMac ;-) , but I have shown identical results on F12.

Thanks!




More information about the Ale mailing list