On 2010-03-08T14:53:38, Raven wrote:
> /usr/bin/uuencode img.jpg img.jpg > attachment.txt
> cat hdr.txt body.txt attachment.txt > message.txt
> $SENDMAIL "-f" $4 "--" $2 <message.txt

If you do not need the full name then this would be easy way to 
mime encode the message:

mutt -a img.jpg -- $2 < message.txt 


/Allan
-- 
Allan Wind
Life Integrity, LLC
<http://lifeintegrity.com>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100309201106.gd9...@lifeintegrity.com

Reply via email to