Smolder::Email
Smolder utility class used to send multi-part MIME email messages
This class method will create and send the email. It receives the following named arguments:
The name of the email message. This directly corresponds to the template used for the email creation (under the templates/Email directory).
The 'to' address of the recipient
The subject line of the email
This is a hash ref that will be passed to the template in order to create the email message
Smolder::Email->send_mime_email( name => 'some_email', to => 'someone@something.com', subject => 'Something for you', tt_params => { foo => $foo, bar => $bar, }, );
The 'From' address for all emails is determined from the FromAddress in conf/smolder.conf. If an error occurs, the error message will be returned.
FromAddress
To install Smolder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Smolder
CPAN shell
perl -MCPAN -e shell install Smolder
For more information on module installation, please visit the detailed CPAN module installation guide.