How to send e-mail with text and attachments by makemime and sendmail ?
Sertac TULLUK
sertac at merihvideo.com.tr
Mon Dec 27 14:57:39 UTC 2010
Ok, here we go:
makemime -c "text/plain" -o /tmp/text.abc /home/mail.txt
makemime -c "application/octet-stream" -o /tmp/attachments.abc
/application/data/attach1 /application/data/attach2
/application/data/attach3
makemime -m "multipart/alternative" -a "Content-Disposition: inline" -o
/tmp/textfinal.abc /tmp/text.abc
makemime -j /tmp/attachments.abc -o /tmp/output.msg /tmp/textfinal.abc
cat /tmp/output.msg |sendmail -S serverip:587 -f sertac at xxx.com.tr -t
stulluk at hotmail.com -t sertac at xxx.com.tr -au"sxxx at m.com.tr" -ap"xxxxxxx"
Pls let me know the problems on these commands first, if possible please..
BR
Sertac
----- Original Message -----
From: "Vladimir Dronnikov" <dronnikov at gmail.com>
To: "Sertac TULLUK" <sertac at merihvideo.com.tr>
Cc: "Denys Vlasenko" <vda.linux at googlemail.com>; <busybox at busybox.net>
Sent: Monday, December 27, 2010 4:13 PM
Subject: Re: How to send e-mail with text and attachments by makemime and
sendmail ?
>> ... by sending e-mails directly using busybox with a small shell
>> script...
>
> That's it. What does this script do? Mind to share?
>
More information about the busybox
mailing list