Perl: Using the Unix mail program
Using the Unix mail program
If you type “mail” at a command prompt you can send and read your mail
We can call this program from perl too
Usually it is /usr/ucb/mail
Doesn’t allow custom headers (mail will always be from username running the program)