HandyKit v2.1  

 Online
 Index page
 HowTo

HandyKIT packages

 HandyCGI.pm
 HandyList.pm
 HandyMail.pm
 HandyTemplate.pm
 HandyTextDB.pm
 SiteBag.pm

Other packages

 HandySQL.pm
 HandyLog.pm
 HandyCrypt.pm

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




TOP
© 2000 || Perl4YOU.com E-mail: info@perl4you.com