jck has asked for the wisdom of the Perl Monks concerning the following question:
and i get the following error:use Net::Cmd; use Net::SMTP; my $smtp = Net::SMTP->new($mailserver) || die $!; #print p("Couldn't create the smtp object"); $smtp->auth($username, $password) or die "Can't authenticate: $!\n";
Can't locate Authen/SASL.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.7/mach /usr/local/lib/perl5/site_perl/5.8.7 /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl/5.005 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.7/BSDPAN /usr/local/lib/perl5/5.8.7/mach /usr/local/lib/perl5/5.8.7 .) at /usr/local/lib/perl5/site_perl/5.005/Net/SMTP.pm line 102.
any idea what i'm doing wrong? TIA, janaki
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::SMTP auth fails
by jettero (Monsignor) on Feb 14, 2007 at 18:37 UTC | |
|
Re: Net::SMTP auth fails
by chargrill (Parson) on Feb 14, 2007 at 18:38 UTC | |
|
Re: Net::SMTP auth fails
by marto (Cardinal) on Feb 14, 2007 at 18:38 UTC | |
|
Re: Net::SMTP auth fails
by jck (Scribe) on Feb 14, 2007 at 18:46 UTC | |
by SheridanCat (Pilgrim) on Feb 14, 2007 at 20:38 UTC |