Codestone Ltd logo

Search FAQ

Internet Mail Client Control FAQs/Miscellaneous/Gmail and SSL

I'm getting runtime error 80040204H (An SMTP or winsock error occured) when using the SMTPClient object with the Gmail SSL SMTPServer

ID: S23E43 DATE: 25/07/2005 10:22:03

The Gmail SSL SMTP server breaks RFC 2821 Sect. 3.9 by not sending a positive response code after the SMTPClient sends a QUIT command. The library behaves as it should in this circumstance according to the standard. In the specific case where you see this error when calling .Close on a Gmail SSL SMTP server your application should catch and ignore the error.

Related questions

Can't find the answer to your question? We're here to help!