Dec 4, 2009, 6:24 AM
Post #1 of 1
NET::SMTP module. Authenticate to SMTP server issue
I am in the process of writing a script, however, the sender's email address must be authenticated. In my case, it is a Windows Live account, therefore, must be authenticated with live smtp server. Below is my code for authentication:
...set up connection
$smtp -> auth('userName', 'password')
or die "Failed authentication. $!";
The results were always a failed connection: No such file or directory exists. If the method I invoke is correct, then it there something special about the authentication process to Windows Live? Or perhaps I need to call a different method?
Any help would be appreciated.