KB IssueWhen using Google Apps, you will have to change your CDOSYS
Copy
Search Site
Search Google
(CDO) SMTPServer
Copy
Search Site
Search Google
and smtpusessl
Copy
Search Site
Search Google
to work with the Google Apps Mail Server.
Issue Details
Some Web hosting providers may not be able to give your Mail service with your hosting domain account. This is sometimes caused by companies not wanting to deal with the hassle of making their servers work with all other Email providers, due to the different types of SPAM filters being developed today to combat the growing problem of SPAM.
Google Mail is available through Google Apps. Google Apps gives you a way to host your email through a reliable server without having to deal with issues of SPAM or SPAM filters, as this is all taken care of for you through Google Apps.
Recreate Issue
If you do not properly set up your CDOSYS to work with Google Apps, you will get different errors.
The following is one of them.
CDO.Message.1 (0x80040213) The transport failed to connect to the server. /cs/add-ons/mail.asp, line 107
Follow the code listed below to get your site up and running with Google Apps and CDOSYS
Resolve Issue
To use CDOSYS in Classic ASP with Google Apps, use the following code exactly as it is written, changing the areas that are marked with a ' change
Update: June 23, 2026 If you are still using Classic ASP, as I am. This code does not work on Windows Server Core. It is best to have an ASP.NET Email script running on your site that handles all your emails.