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?
Have a look at mpack. I use it regularly to send attachments from the commandline. Regards Johann -- Johann Spies Telefoon: 021-808 4599 Informasietegnologie, Universiteit van Stellenbosch "What doth it profit, my brethren, though a man say he hath faith, and have not works? can faith save him? If a brother or sister be naked, and destitute of daily food, And one of you say unto them, Depart in peace, be ye warmed and filled; notwithstanding ye give them not those things which are needful to the body; what doth it profit? Even so faith, if it hath not works, is dead, being alone." James 2:14-17 -- 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/20100310075411.gb5...@sun.ac.za