Sample Header Ad - 728x90

How can I automate sending mail using a script?

4 votes
2 answers
5288 views
I have in the past heard of using nail for this task, but I can't seem to find it for my distribution (Ubuntu 11.04) in any of the repositories. What program can I use to one-off emails from a shell like so: send-mail -to me@email.com -file attachment.zip -message "Hello World" Is there a program out there through which I can script mail sending as above?
Asked by Naftuli Kay (41346 rep)
May 31, 2011, 12:51 AM
Last activity: Feb 25, 2014, 11:12 PM