Subject: | NTLM |
Hello.
First, thank you very much for this module.
I've an issue related to the NTLM authentification.
Sending one single email with NTLM it works out of box :-)
The issue appears with sending more than one email from the same script. It fails with "Login not accepted". I am forced to exit/quit from the script and run it again.
It's really weird, like that once the NTLM connection is established, it cannot be reset, so you cannot create a new one. The only way to really close it, it's exiting from script.
Example:
my $sender = new Mail::Sender({...., auth=>'NTLM',...});
ref($sender->MailMsg({...});
$sender->Close;
print "works\n";
my $sender2 = new Mail::Sender({...., auth=>'NTLM',...});
ref($sender->MailMsg({...});
$sender->Close;
The second email (related to $sender2) fails during the negotiating.
Thanks,