Introduced "$smtp->auth($account,$password);" per Dave's suggestion. Get the following debug message: Net::SMTP: Net::SMTP(2.15)Net::SMTP: Net::Cmd(2.18)Net::SMTP: Exporter(5.562)Net::SMTP: IO::Socket::INET(1.25)Net::SMTP: IO::Socket(1.26)Net::SMTP: IO::Handle(1.21) Net::S
Put this in your code after the
"$smtp=Net::SMTP->new..." line:
$smtp->auth($account,$password);
but the SMTP server needs to deal with SASL. Use values
for $account and $password that authorize you for that server. My attempt at
this failed until my service provider updated antiqua
> Is anyone aware of any method of sending email with authentication using
Net::SMTP or any other module. At this point I am experimenting trying to
send email using perl v 5.6.1.
> My ISP seems to require authentication when I run the script below with
debug enabled.
> Joydeep
Although search.
On Mon, 19 Dec 2005 12:37:47 -0800 (PST) Joydeep Yadav asked
> Is anyone aware of any method of sending email with
> authentication using Net::SMTP or any other module. At
> this point I am experimenting trying to send email using
> perl v 5.6.1.
Code in http://www.vim.org/scripts