NAME
HandyMail - exports function that sends email.
SYNOPSIS
&sendmail('Message body',
'to@address.com',
'from@address.com',
'Subject');
or
&sendmail("Subject: Subject\n\nMessage body",
'to@address.com',
'from@address.com');
In second call, message body is concatenated to message headers, so double
newline is required.
CONFIGURATION
- config.pm
-
We encourage you to store all your project configuration data in config
module inside of hash
%cfg. All configuration for HandyCGI, HandyTemplate,
HandySQL, HandyLog, HandyMail and HandyList modules are stored in this file
by default. However, if you dislike this approach feel free to modify code
a little.
- MTA_cmdline
-
Command line of Mail Transport Agent.
Default: /usr/sbin/sendmail -t
|