I have been using PERL with Net::SMTP and Net::SMTP::TLS to send outbound smtp via Gmail for months and now it stopped working. There is now a problem with the "quit" method. Net::SMTP::TLS expects a 221 to be returned by Gmail after the quit but it is not seeing it. I found a couple references to this issue. One thread was started in 2005, one in 2007 and by coincidence one entry was added today. The only solution I have seen is to modify the PERL module quit subroutine Net::SMTP::TLS. I don't want to do that. I found that the errors could be avoided by not sending a "quit". That is not very elegant. I am changing to my ISP outbound smtp for now and keep and eye on the forums for a better solution.
The error is:
An error occurred disconnecting from the mail server:
Reference:
LinuxQuestions.org
Google Groups
1 comments: