ot: mail flag for attachment in unix
Kenneth Brody
kenbrody at spamcop.net
Thu Oct 1 08:45:58 PDT 2009
Dennis Malen wrote:
> Ken,
>
> I missed trying Bill's suggestion and the following did work:
>
> (uuencode emccx.xls emccx.xls ; cat tryftp) | mail -s "test4"
> dmalen at malen.com
>
> It attached emccx.xls and placed the contents of tryftp in the body.
Actually, it "attached" nothing. Rather, it made a simple plain-text e-mail
whose body consisted of a uuencoded file plus some text.
It may be that the e-mail client used to read this recognized the in-line
uuencoded file and pretended it was an attachment, but that's just the
behavior of the particular client that was being used. Other clients may
show "garbage" as the body of the message, and others may recognize the
uuencoded in-line content, and ignore everything else.
--
Kenneth Brody
More information about the Filepro-list
mailing list