gryphonshafer / Email-Mailer

Multi-purpose emailer for HTML, auto-text, attachments, and templates
1 stars 1 forks source link

Missing Samples #4

Closed dominic01 closed 6 years ago

dominic01 commented 6 years ago

Do you have full sample scripts? It is not available in the documentation.

gryphonshafer commented 6 years ago

I don't understand what you mean by "full sample scripts". The documentation contains 8 examples. The first lines of the synopsis is:

use Email::Mailer;
my ( $to, $from, $subject, $text, $html );

# send a simple text email
Email::Mailer->send(
    to      => $to,
    from    => $from,
    subject => $subject,
    text    => $text,
);

If you define $to, $from, $subject, $text, $html, then it works as a stand-alone program.