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

Re: MIME::Lite error => SMTP auth() command not supported on smtp.gmail.com

by keszler (Priest)
on Sep 14, 2011 at 00:17 UTC ( [id://925787]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      eval {
        require MIME::Base64;
        require Authen::SASL;
      } or $self->set_status(500, ["Need MIME::Base64 and Authen::SASL tod
    +o auth"]), return 0;
    
  2. or download this
    if ($smtp->supports('AUTH',500,["Command unknown: 'AUTH'"])) {
        $smtp->auth( $args{AuthUser}, $args{AuthPass} )
    ...
    } else {
        die "SMTP auth() command not supported on $hostname\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (7)
As of 2024-04-18 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found