Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Unable to send mail: error '8004020f'
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Unable to send mail: error '8004020f'

 Post Reply Post Reply
Author
jonathan.s.82 View Drop Down
Newbie
Newbie


Joined: 02 April 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jonathan.s.82 Quote  Post ReplyReply Direct Link To This Post Topic: Unable to send mail: error '8004020f'
    Posted: 02 April 2006 at 2:25am
Hello, this is the first time setting up Web Wiz on my local server. Any time I send a mass email, or someone registers a new account which initiates the email activation, I am getting an error '8004020f'
forum/forum/admin/functions/functions_send_mail.asp, line 137.
 
I am running 2003 Server SP1, with Exchange 2003 SP1 which controls SMTP. IIS 6.0 is running the forum locally, with a dedicated IP for cleint connectivity. You can view the site at: www.doctortalk.com/forum.html.
 
I have read all of the information on setting up CDOSYS smtp settings through the functions_send_mail.asp page, and everything is setup properly.
 
Here's the kicker, and may take some knowledge of Exchange, the error only occurs when Web Wiz is sending to an email address outside of my exchange server. Local email accounts (registered with exchange) are delivered fine. But soon as I send mail to all accounts, the web wiz administrator (exchange account) is delivered, and then the error '8004020f' occurs before making it through any external accounts used by clients.
 
I have of course verified that I can send to external accounts OK, which has worked the last 8 months on this server with no issues.
 
I also read about my version 7.96 not supporting localhost mail, so upgraded to the latest version 8 RC1.1 with no change in the email error. (Swapped back due to the custom setup I have created with headers and footers.)
 
Any idea's would be greatly appreciated, I am the webmaster for my client's site who is very respected in his feild, and we already have tons of clients and viewers giving some negative feedback about our forums.
 
Thanks,
Jonathan Sanders
President
Secure Foundations Tech.


Edited by jonathan.s.82 - 03 April 2006 at 5:01pm
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 02 April 2006 at 4:53pm
Are you authenticating to the exchange server with a valid login/password for an account on that server?

Lead me not into temptation... I know the short cut, follow me.
Back to Top
wmeyers View Drop Down
Newbie
Newbie
Avatar

Joined: 11 February 2006
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wmeyers Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2006 at 2:20am
Is your exchange server set up to permit relaying?
Back to Top
jonathan.s.82 View Drop Down
Newbie
Newbie


Joined: 02 April 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jonathan.s.82 Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2006 at 4:11pm
I do have the correct SMTP auth account listed in the functions_send-mail.asp. The exchange server is setup with the default settings. I haven't added any additional security.
Back to Top
jonathan.s.82 View Drop Down
Newbie
Newbie


Joined: 02 April 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jonathan.s.82 Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2006 at 4:55pm
Also, I have had some pretty terrible experiences with spammers overloading previous servers due to having an open relay. One of the biggest nightmares I have ever had with Exchange. We actually had at one point, multiple spammers submitting over 1,500 emails per second for our exchange server to deliver. So I am very iffy on leaving my server open for those type of attacks again. Hopefully, Web Wiz doesn't need to leave security holes in my server to work properly.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2006 at 5:21pm
If you use 'localhost' as the SMTP server then allow open relay for localhost only and localhost IP's 127.0.0.1

This should prevent spammers from abusing your server
Back to Top
jonathan.s.82 View Drop Down
Newbie
Newbie


Joined: 02 April 2006
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote jonathan.s.82 Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2006 at 6:51pm
Badaboom!
 
We got email!!!!
 
This is a great topic for those running web wiz on an Exchange server. Exchange 2003 does have relay disabled by default for security. You must add your servers IP address, or 127.0.0.1 as listed above to your approved relay list in the exchange system manager in order for Web Wiz to route through exhange.
 
Thanks -boRg-, you made it look so easy...
 
I did not find any good info sites on adding a relay in Exchange 2003, so I created one right quick for anyone with this same issue. Check out the walk through on my site:


Edited by jonathan.s.82 - 03 April 2006 at 6:52pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2006 at 7:04pm
Glad it worked, I've never used Exchange Server myself, but I used the same trick in MailEnable Pro.

I'm going to be setting up a server with Small Business Server 2003 in the office in the next few days which does come with exchange server, so I will bookmark your page, as I may need to refer to it myself.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.