BigGail's Tech Notes :: Tech Notes :: Fixing ASP when sending from server -- error '8004020e' ~ Runboard
BigGail's Tech Notes
 Tech Notes
  Fixing ASP when sending from server -- error '8004020e'
Support
Search
RSS

runboard.com       Sign up (learn about it) | Sign in (lost password?)


 
biggail
Head Administrator
Global user

Registered: 03-2005
Posts: 13
Karma: 0 (+0/-0)
Reply | Quote
Fixing ASP when sending from server -- error '8004020e'


I did a little ASP page for a Flash website that mails from a form -- standard stuff. However, I was getting error '8004020e'. I researched this on the web and found the helpful link: http://support.bebosoft.com/kb/article.php?knoid=117&t=The+script+returns+error+8004020e. It turns out that I was setting the "From" value in the CDO code to be the actual email address that the user entered in the form. Since I was trying to send a message from the server from a domain not hosted on the server, it appeared to the server as spam and was rejected. When I changed the "From" to the actual domain name hosted (e.g. website@domainname.com) it ran fine. I thought that setting the "From" to be the person sending the email was a good idea, but now I understand how that could appear to be spam and an invalid address. Lesson learned!
11/1/2008, 11:13 am Send Email to biggail   Send PM to biggail Blog
 


Add a reply






Link to us   -  Blogs   -  Hall of Honour   -  Chat
You are not logged in (login)      Board's time is: 11/29/2009, 5:18 pm