Problem:
The ASP script returns an error like:
error '8004020e' myscript.asp, line xx
and line xx is:
objCDOSYSMail.Send
Solution:
This error is caused by the email component not being able to send the email. The possible causes of this error are:
- Access to the mail server thru the email component is denied. Make sure you supply a validSMTP Server in the ASP Settings window.
- The SMTP Server requires a valid Login and Password to send the email. You must supply a correct value in the ASP Settings window.
- The field used in the From of the Email to form's owner doesn't contain a valid email address. Verify that you're validating the field value against a valid email address.
- Some mail servers do not allow sending email using a From email address with a domain name different than the one is configured in the web server. In this case, you should not use a field of the HTML form as the From. Instead, use a Generic email address with the same domain name as the hosted one.
|