WarDeities Posted February 9, 2008 Share Posted February 9, 2008 Can anyone see the problem in this code...email wont send.... ??? ??? ??? $subject="Your Draconic Quest Activation Key!"; $message="You have registered on Draconic Quest, one of todays most addictive and fasting growing free mmorpgs! <br> Please copy and pase the URL to activate your account! <br> $path/activate.php?player=$player&password1=$password1&$activecode=$activecode <br> Thank you for registering! <br><br> Draconic Quest Admin/Webmaster"; mail($email1, $subject, $message, "From: Draconic Quest<webmaster@draconicquest.com>,\nX-Mailer: PHP/" . phpversion()); $email1 is the email address from previous screen via $_POST ....maybe I'm losing it....I don't see anything wrong. AS ALWAYS THANKS FOR TAKING TIME TO LOOK AT MY POST Quote Link to comment https://forums.phpfreaks.com/topic/90146-maybe-im-blind/ Share on other sites More sharing options...
z0mb1 Posted February 9, 2008 Share Posted February 9, 2008 do you have mail configured on your server? Quote Link to comment https://forums.phpfreaks.com/topic/90146-maybe-im-blind/#findComment-462256 Share on other sites More sharing options...
WarDeities Posted February 9, 2008 Author Share Posted February 9, 2008 Ya...actully I just bought a seond domain name...and added it to my main domain...I have sent mail 10,000 X plus on the main domain....same server...hmmm....maybe i'll just try it again...I can't find the problem..... ??? Quote Link to comment https://forums.phpfreaks.com/topic/90146-maybe-im-blind/#findComment-462258 Share on other sites More sharing options...
nethnet Posted February 9, 2008 Share Posted February 9, 2008 Try adding this just for debugging purposes: if(mail($email1, $subject, $message, "From: Draconic Quest<webmaster@draconicquest.com>,\nX-Mailer: PHP/" . phpversion())) echo "Success! Email was sent!"; else echo "There was an error and the mail was not sent!"; If you see the success message when you run your script, then just give it some time, perhaps the email isn't being delivered immediately, or check your spam box. Theo Quote Link to comment https://forums.phpfreaks.com/topic/90146-maybe-im-blind/#findComment-462261 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.