[mdlug] Script Writing: email notification

Michael Corral micorral at comcast.net
Wed Mar 28 13:19:04 EDT 2007


Robert Adkins a ecrit:
> Is there a way to have a script generate an email?

The standard 'mail' command can be used, but if you aren't
running your own SMTP server and need to use an external
SMTP server, then it's better to use nail (aka Heirloom):
http://heirloom.sourceforge.net/mailx.html

I'd use that anyway just because it's an improvement over
the standard mail/mailx in lots of ways.

Michael



More information about the mdlug mailing list