|P is for Practical|
Authentication Requiredby njweatherman (Sexton)
|on Feb 25, 2008 at 23:25 UTC||Need Help??|
njweatherman has asked for the
wisdom of the Perl Monks concerning the following question:
Dear Monks, The web server I am using now requires authentication when sending out emails. I am sending out mass emails on my local computer using MIME::LITE and Net::SMTP However, when I use the following code:
MIME::Lite->send('smtp', $host, AuthUser=>$user, AuthPass=>$pass);
I get the following error message:
SMTP RCPT command failed:
5.7.1 <email@example.com> ... Relaying denied.
Proper authentication required.
Any ideas? The host, username and password are set correctly. I know because I tested out the credentials on Outlook Express. Thanks again!