Mail::Mailer::smtp_auth - a Net::SMTP_auth wrapper for Mail::Mailer


Mail-Mailer-smtp_auth documentation  | view source Contained in the Mail-Mailer-smtp_auth distribution.

Index


NAME

Top

Mail::Mailer::smtp_auth - a Net::SMTP_auth wrapper for Mail::Mailer

SYNOPSIS

Top

    use Mail::Mailer;

    $mailer = new Mail::Mailer 'smtp_auth' , (
        Server => $server ,
        Auth   => [ $auth_type, $user, $pass ]
    );

    $mailer->open(\%headers);

    print $mailer $body;

    $mailer->close;

DESCRIPTION

Top

The code is almost a copy of Mail::Mailer::smtp but use Net::SMTP_auth instead Net::SMTP.

for more details, please perldoc Mail::Mailer and perldoc Net::SMTP_auth

EXPLAINATION

Top

As $auth_type you can specify any of: 'PLAIN', 'LOGIN', 'CRAM-MD5' etc.

SEE ALSO

Top

Mail::Mailer, Net::SMTP_auth

AUTHOR

Top

Fayland, <fayland at gmail.com>

COPYRIGHT & LICENSE

Top


Mail-Mailer-smtp_auth documentation  | view source Contained in the Mail-Mailer-smtp_auth distribution.