Problem:
The ASP script returns an error like:error '8004020e'
email.asp, line xx
the line in script is : objCDOSYSMail.Send
Solution:
Error '8004020e' |
Problem:
The ASP script returns an error like:
error '8004020e'
email.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 through the email component is denied. Make sure you are using a valid SMTP Server in your email.asp file.
- The SMTP Server requires a valid Login and Password to send the email. You must supply a correct and valid value in your email.asp file.
- The email address used in the FROM field doesn't contain a valid email address. Verify that you're validating the FROM field value against a valid email address present on the SMTP Server.
- Some mail servers do not allow sending emails 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.
0 comments:
Post a Comment