On Mon, Mar 08, 2010 at 02:53:38PM +0100, Raven wrote:
> To encode the image I use:
> 
> /usr/bin/uuencode img.jpg img.jpg > attachment.txt
> cat hdr.txt body.txt attachment.txt > message.txt
> $SENDMAIL "-f" $4 "--" $2 <message.txt
> 
> Anyone knows how to solve this?

As the others have mentioned, you should be using MIME format for
sending attachments for best interoperability.  Try the "mpack" or
"mime-construct" packages in Debian for tools to generate MIME messages
from the command line.

me

Attachment: pgpsqEQGj13bu.pgp
Description: PGP signature

Reply via email to