Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: SMTP mail not working for me

by chromatic (Archbishop)
on Jan 13, 2012 at 06:53 UTC ( [id://947699]=note: print w/replies, xml ) Need Help??


in reply to Re^2: SMTP mail not working for me
in thread SMTP mail not working for me

The error message means you need to install Net::SMTP_auth. In addition:

my $smtp = Net::SMTP->new( ... );

... should probably be instead:

my $smtp = Net::SMTP_auth->new( ... );

... and you almost certainly don't need the single quotes in:

$smtp->auth('CRAM-MD5', '$ServerAccount', '$ServerPwd');

... if you want the values of the variables, and not the literal strings.


Improve your skills with Modern Perl: the free book.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://947699]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-19 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found