| App::Framework::Feature::Mail - Send mail |
App::Framework::Feature::Mail - Send mail
use App::Framework::Feature::Mail ;
The following fields should be defined either in the call to 'new()', as part of a 'set()' call, or called by their accessor method (which is the same name as the field):
Email sender
Email recipient. Where there are multiple recipients, they should be set as a comma seperated list of email addresses
Email recipient for errors. If set, program errors are sent to this email.
Set the minium error level that trigger an email. Level can be: note, warning, error
Optional mail subject line
Mailing host. If not specified uses 'localhost'
Create a new Mail.
The %args are specified as they would be in the set method (see Fields).
Initialises the Mail object class variables.
Send some mail stored in $content. $content may either be a string (containing newlines), or an ARRAY ref.
Optionally %args may be specified (to set 'subject' etc)
Send some mail stored in $content. $content may either be a string (containing newlines), or an ARRAY ref.
Optionally %args may be specified (to set 'subject' etc)
Setting the debug flag to level 1 prints out (to STDOUT) some debug messages, setting it to level 2 prints out more verbose messages.
Steve Price <sdprice at cpan.org>
None that I know of!
| App::Framework::Feature::Mail - Send mail |