|
|
|
|
|
by adrian_b
28 days ago
|
|
Any UNIX-derived operating system has some kind of command-line utility for sending email messages (named mailx or mail or Mail). I do not remember if I have ever used the GNU mail program that is available on Linux, but my e-mail server is hosted on FreeBSD, so I have used very frequently the FreeBSD CLI utility to send e-mail messages from scripts. Moreover, all FreeBSD servers come configured by default to send automatically a variety of e-mail reports to the administrator, to inform about incidents or statistics, so there are a lot of examples of usage from scripts. |
|