質問
mail()function
hey guys, i have this registration script, when users
register, it sends an email with activation link to their email
address, but it shows email from the host company, not my webmaster
email address. Can i place a mail() function for it???
Where would i place it?
Here is my registration code:
// Send the email.
LINE 66 -> $body = "Thank you for registering at the Therainbowpride.com. To activate your account, please click on this link:\n\n";
LINE 67 -> $body .= " http://www.therainbowpride.com/activate.php?x=" . mysql_insert_id() . "&y=$a";
LINE 68 -> mail($_POST['email'], 'Registration Confirmation', $body);
Thank you guys
Where would i place it?
Here is my registration code:
// Send the email.
LINE 66 -> $body = "Thank you for registering at the Therainbowpride.com. To activate your account, please click on this link:\n\n";
LINE 67 -> $body .= " http://www.therainbowpride.com/activate.php?x=" . mysql_insert_id() . "&y=$a";
LINE 68 -> mail($_POST['email'], 'Registration Confirmation', $body);
Thank you guys
