in reply to SMTP "auth" problem after upgrade
#!/usr/bin/perl use strict; use warnings; use MIME::Lite; use Net::SMTP; my $host = 'host'; my $user = 'user'; my $pass = 'pass'; unless (defined 'NoAuth') { my $smtp = MIME::Lite->send( 'smtp', $host, AuthUser => $user, AuthPass => $pass, Debug => 1 ); } else { my $smtp = MIME::Lite->send( 'smtp', $host, NoAuth => 1, Debug => 1 ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SMTP "auth" problem after upgrade
by anonymized user 468275 (Curate) on May 13, 2011 at 16:05 UTC |