Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 ( #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
Node Status?
node history
Node Type: note [id://925787]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-09-20 09:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (158 votes), past polls