| Author |
Message |
Othic New Member


Joined: Oct 25, 2003 Posts: 19
|
Posted:
Tue Nov 11, 2003 11:28 am |
|
My friends site tech2k.50free.net works fine except that when people register they can not get a verification e-mail back, so they can never fully register. Is there a way to correct this? |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Tue Nov 11, 2003 9:07 pm |
|
You need to determine the source of the problem before trying to correct it . Let's determine if it's nuke related or mail related. Have your friend save this code to a file and call it mail.php. Place it in his root web directory. Then point your browser to it and see what happens. | Code: | <?
$to = 'YOU@SOMEWHERE.COM';
$subject = 'test email';
$msg = 'If you are reading this, it appears that your mail setup is functioning correctly!';
mail($to, $subject, $msg) or die('MAIL ERROR');
die('Mailed - This just means that the PHP mail() function is working.<br />If you do not receive the email, then there is probably something wrong with your SMTP setup.');
?>
|
|
|
|
|
 |
leebies New Member


Joined: Jan 04, 2004 Posts: 3
|
Posted:
Sun Jan 04, 2004 5:30 pm |
|
Hi,
I ran your script and I did receive the email. You say that if I get the email it is an SMTP setup problem. Is that in PHP/Nuke? Or part of my server.
Greatly appreciate your help. Also is there any HTML snippet I can use to put a link on my site, I mean do you have a button or a banner you would like me to use.
Kind Regards
Lee |
|
|
|
 |
leebies New Member


Joined: Jan 04, 2004 Posts: 3
|
Posted:
Sun Jan 04, 2004 5:33 pm |
|
AHH! I just re-red! It says if I dont receive the email then it is an SMTP error! Silly me. So if this script works then in theory PHP Nuke should
Im using 6.9 - is there anything I can try? Cheers
PS. I got in touch with my server people and they have it all set up correctly as they offer phpnuke in their cpanel system. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Jan 04, 2004 5:41 pm |
|
If you received the email from the test script, but not from nuke, then we know that php mail() function is working correctly and so is your smtp from your host. Something is amiss with your nuke setup. Please restore the default Your_Account/index.php and post your URL and I will try to join your site. |
|
|
|
 |
leebies New Member


Joined: Jan 04, 2004 Posts: 3
|
Posted:
Sun Jan 04, 2004 5:48 pm |
|
HI,
my site is projectexistence.com I have restored everything. The weirder thing is this. If i use a hotmail email address, the activation email goes. If i use another (eg a leebies.com email) it doesnt work. However I used my leebies.com email to register on this site and it worked so I know its not the leebies server.
 |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sun Jan 04, 2004 6:34 pm |
|
Nuke and php are working just fine. Whatever the issue is, it's more related to your email domain address. |
|
|
|
 |
|
|
|
|