ot: mail flag for attachment in unix

Kenneth Brody kenbrody at spamcop.net
Wed Sep 30 11:23:52 PDT 2009


Dennis Malen wrote:
> Thanks for the responses. AIX did not have mutt. The following did work as suggested by Scott:
> 
> uuencode test.txt test.txt|mail -s "Attach a file" email at email.com
> 
> Fairlight suggested that uuencode may be a problem. Is uuencode unstable and something I should not rely on? And if so, is there anything else I should use.
> 
> In the meantime I will use uuencode.

I didn't see anything in Fairlight's e-mail that said uuencode may be a 
"problem".  Rather, he pointed out that the method above is _not_ creating 
an attachment, but rather "inline embedding", and that not all e-mail 
clients nowadays will recognize embedded uuencoded text.  (Instead, you'll 
simply see a bunch of "garbage" in the message body.)

-- 
Kenneth Brody


More information about the Filepro-list mailing list