Hello,

we've been trying to setup MIME::Lite to send email via SMTP but keep getting
the following error:
-------------------------------------
SMTP auth() command failed:  Incorrect authentication data
-------------------------------------

we have verified that the SMTP information, smtp host, username and password are
correct. the code that sends out the email:

$msg->send('smtp',$host,AuthUser=>$user,AuthPass=>$pwd,Timeout=>60) or die $!;

Now I've setup the identical script on a different server, which uses the same
MTA(Exim) and it worked fine just changed the host, username and password.

If we use the Mail::Sender module on this same server which has the problem
sending it with MIME::Lite, to send out SMTP email, then it works fine, and
using the same identical host, username and password info as used in the
MIME::Lite script. I realize we can use the Mail::Sender module instead, as this
works fine, but would prefer to use MIME::Lite ... just a personal preference :)
So I was wondering if there is some sort of trick to get MIME::Lite to work
correctly. I have also verified that the MIME::Base64 & Authen::SASL modules, used by MIME::Lite, are installed.

Any help or tips much appreciated,

Mike(mickalo)Blezien
===============================
Thunder Rain Internet Publishing
Providing Internet Solution that Work
http://www.thunder-rain.com
===============================


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to