[rhn-users] What is the simplest way to use command line (mail orsendmail) with an attachment?
Jeremy Webber
jeremyw at al.com.au
Thu Mar 30 23:58:46 UTC 2006
On 31/03/2006, at 9:03 AM, Riley, Liz (ACHE) wrote:
>
> Try
>
> uuencode filename < filename | mail -s "Subject goes here"
> person at host.com
>
It's important to note that uuencode is not MIME (it predates MIME and
is not part of the MIME standard). Not all MIME-compatible mail
clients can understand uuencode.
Sorry this doesn't answer the OP's question. uuencode may be good
enough for that, else I guess it's Perl.
-jeremy
More information about the rhn-users
mailing list