I am so stressed,
My membership signup was working fine. Now it's not emailing. It is entering into the database fine but not emailing can someone tell me what is the problem, Thanks Kindly I'm Exhausted...
To session_id is to the person who just signed up.
// Let's mail the user!
$to = "$session_id";
$subject = "Your Membership at Puddin Patch Date Match!";
$message = "Dear $username,
Thank you for registering at our website, http://www.puddinpatchdatematch.com!
You are two steps away from logging in and accessing our exclusive members area.
To activate your membership,
please click here: http://www.puddinpatchdatematch.com/login_form.php
Once you activate your memebership, you will be able to login
with the following information:
Password: $password
email_address: $email_address
Thanks!
The Webmaster
This is an automated response, please do not reply!";
mail($email_address, $subject, $message,
"From: www.puddinpatchdatematch.com Webmaster<admin@mydomain.com>\n
X-Mailer: PHP/" . phpversion());
echo 'Your membership information has been mailed to your email address!
Please check it and follow the directions!';
}
?>
</body>
</html>