Print Page | Close Window

Problem with mail sending

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25433
Printed Date: 03 April 2026 at 9:35pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem with mail sending
Posted By: iSec
Subject: Problem with mail sending
Date Posted: 11 March 2008 at 4:08pm

Using CDOSYS, when I set the SMTP server to nothing (blank) the email send function works... however after I do that and update the page, it defaults back to localhost.

How can I make it so that it does not default back to localhost?


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Replies:
Posted By: WebWiz-Bruce
Date Posted: 11 March 2008 at 4:40pm
Leaving it blank is the same as localhost, however to prevent errors the code will prefill the box with 'localhost' if it is left blank. You need to enter 'localhost' or '127.0.0.1'

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 11 March 2008 at 4:49pm
I use a Gmail email address that is not hosted locally, setting the forum to localhost causes the following error:
 
Error details:-

The server rejected one or more recipient addresses. The server response was: 550 Requested action not taken: mailbox unavailable or not local
 


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: WebWiz-Bruce
Date Posted: 11 March 2008 at 4:56pm
You should enter GMail's SMTP server. eg:- mail.gmail.com

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: WebWiz-Bruce
Date Posted: 11 March 2008 at 4:57pm
Sorry just remembered I would not recommend using an external mail server like GMail you should use a local one on the network you are on otherwise your forum will crawl along as it will take along time to sendout email notification each time someone creates a new post, and you may even see timeout errors.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 11 March 2008 at 5:02pm

I use Gmail apps, allowing me to use gmail as the backend, but the domain is my own domain. For example, one of my domains uses gmail here: http://webmail.mohcom.com - http://webmail.mohcom.com

As you can see, this is really a gmail address yet the domain is not. So one of my emails could be: mailto:username@mohcom.com - username@mohcom.com  and that is what I use for my forum.
 
Is this the same as using a gmail address with the gmail URL? This worked just fine prior to migrating to a new server a few days ago.


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: WebWiz-Bruce
Date Posted: 11 March 2008 at 5:22pm
Most hosts will not allow their mail servers to be used in this way as web sites could relay spam undetected.

Normally what you would do is create a local mailbox with your web host and then have any mail sent to this mailbox forwarded to your GMail email address.

You then setup Web Wiz Forums to use the mailbox you created with your web host, if they also require authentication you would also need to supply the username and password for the mail box created with your web host.

You also need to put in your web hosts mail server.

Contact your web host they should be able to give you more details on exactly how their system is setup to relay outbound email.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 11 March 2008 at 5:28pm
I use a dedicated server, and have full control over it... I am responsible for managing the server and all of its components/software.
 
It worked seamlessly before... I think I just need to re-configure the SMTP server differently like I used to on the old server... I will let you know the results.
 


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: WebWiz-Bruce
Date Posted: 11 March 2008 at 5:36pm
If that is the case then looking at your error you need to configure the mail server to relay ALL local email comming from 127.0.0.1 regardless of authentication or any other settings.

You would normally whitelist 127.0.0.1 on the mail server for SMTP relay.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: iSec
Date Posted: 12 March 2008 at 7:27am
Thank you Bruce...
I reinstalled SMTP/MailEnable on my server and it works now....
I couldn't whitelist 127.0.0.1... not sure if it did it automatically when i reinstalled MailEnable, or even get to the Relay tab within MailEnable as it kept asking for an email address that was hosted locally and I don't have any... so it wouldn't allow me to bypass that.


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard


Posted By: iSec
Date Posted: 12 March 2008 at 7:31am
Nevermind... it let me do it from the Plesk control panel:
 
 


-------------
"When it gets dark enough, you can see the stars"
-Charles A. Beard



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net