On Wed, 2010-03-10 at 09:54 +0200, Johann Spies wrote:
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
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
On Mon, Mar 08, 2010 at 02:53:38PM +0100, Raven wrote:
Hi all,
I recently wrote a small content filter script (in bash) to use on my
local Postfix installation. The script receives via pipe: the
recipient and the sender's addresses then responds by sending back a
message containing some
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
Hi all,
I recently wrote a small content filter script (in bash) to use on my
local Postfix installation. The script receives via pipe: the
recipient and the sender's addresses then responds by sending back a
message containing some body text and an image attachment.
It works as it is supposed to
On 8.3.2010 15:53, Raven wrote:
Hi all,
I recently wrote a small content filter script (in bash) to use on my
local Postfix installation. The script receives via pipe: the
recipient and the sender's addresses then responds by sending back a
message containing some body text and an image
On 8-3-2010 14:53, Raven wrote:
Anyone knows how to solve this?
Thanks
Why don't you just BASE64 the attachment and set the proper mime-type?
You might still be able to use uuencode, but setting a mime-type seems
mandatory to me, because else the mail client has to guess what the
attachment
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
8 matches
Mail list logo