Jump to content

Maybe I'm blind....


WarDeities

Recommended Posts

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  :D

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.