From: ToddAndMargo ToddAndMargo@zoho.com
Anyone have a favorite command line outbound (smtp) email program that is easy to use?
I'd like to be able to put everything on the command line and not have configuration files to deal with.
I have looked at mailx (snail) and msmtp, but am a bit overwhelmed by them
I use sendEmail, as follows:
sendEmail -f ToddAndMargo@gozo -t "${address of recipient}" -u "${subject}" -m "${message}" -a "${attachment-filename}" -s smtp.zoho.com:587 -xu ToddAndMargo@zoho.com -xp [internal password of the sender's account]
-f from email address -t to email address>
Many thanks, -T
-u subject -m message -a added attachment, if any -s sender smtp account port -xu sender's email account at zoho.com -xp password
Easily scripted and can send multiple emails individually when fed from a list file (...while read line...). All entries are scriptable, so different recipients can receive different subject,message and attachments as desired
R. Geoffrey Newbury