Its funny you should ask that because at my job, we don't have any modules installed for mail and to get them installed would take an act of an unearthly being.
So, to send mail, we rely on a secondary Perl script which takes an array of parameters. For instance, here is what I can remember of the options you can feed the script:
-a email address(es) to send to. Separated by coma's if multiple.
-A a file containing email adddress(es) to send to. One per line if multiple.
-s subject, in double quotes, even if a variable is used containing the subject.
-b body of the email.
-B a file containing the body of the email.
There are other options, but those are right off the top of my head. What the mail script ends up doing is actually calling the system's "mailx" program, which is fairly simple to use to send emails. In case you are wondering, we are working on Solaris Unix.
Regards,
Jeff