Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Getting Net::SMTP::SSL debug information

by weismat (Friar)
on Feb 04, 2009 at 14:04 UTC ( #741281=note: print w/ replies, xml ) Need Help??


in reply to Getting Net::SMTP::SSL debug information

I use the auth method also via Net::SMTP::SSL against yahoo mail instead of google mail and it returns 1 if the authentication has worked.
The odd part is that your SMTP status Code 235 indicates that the authentication has worked.
I guess you need to step in the debugger to see where the problem starts...
Update: Maybe you mixed the Net and the MIME module:

my $smtp = Net::SMTP::SSL->new("", Debug=>1, Timeout=>20, Port=>465); $smtp->auth('', "") or die "Error message: $smtp->message";
is what I do...


Comment on Re: Getting Net::SMTP::SSL debug information
Download Code
Replies are listed 'Best First'.
Re^2: Getting Net::SMTP::SSL debug information
by sirsir (Initiate) on Feb 04, 2009 at 16:36 UTC
    How did you know the 'message()' method existed? It's not on the Net:SMTP documentation. I think I might just parse that and check if it sends Accepted or not.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (10)
As of 2015-07-30 08:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls