| Author |
Topic Search Topic Options
|
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
Topic: Problem with mail sending 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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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'
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 11 March 2008 at 4:56pm |
|
You should enter GMail's SMTP server. eg:- mail.gmail.com
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
As you can see, this is really a gmail address yet the domain is not. So one of my emails could be: 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
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
|
 |
iSec
Senior Member
Joined: 13 February 2005
Status: Offline
Points: 1140
|
Post Options
Thanks(0)
Quote Reply
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
|
 |