KB Issue
The error 80040211
Copy
Search Site
Search Google
will occur if your ASP CDOSYS
Copy
Search Site
Search Google
script cannot make contact with your mail server.
Issue Details
The below error will happen if you cannot make contact with your mail server.
This sometimes happens if you spell your domain incorrectly or put down the wrong domain extension.
domain.org (or) domain.net (or) another type of domain extension.
Make sure your domain is properly defined in your cdosys script header, then try again.
error '80040211'
/mail.asp, line 75
Recreate Issue
If your domain name is domain.net and you write it as domain.com (or) domain.org (or) another domain extension, like the ones below.
[Classic ASP - CDOSYS Email Example]
CFFCS | CarrzSynEdit: | ASP/VBScript
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") ="webmaster@domain.com"

Resolve Issue
If your domain is domain.net, write it as is.
[Classic ASP - CDOSYS Email Example]
CFFCS | CarrzSynEdit: | ASP/VBScript
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") ="webmaster@domain.net"

As you can tell, we have webmaster@domain.net as out sendusername.