Jump to content

...Why doesn't this send? At all?


sfxworks

Recommended Posts

$subject = "sfxworks minecraft server";
$message = "Thank you for pre-registering. You have been automatically added to the whitelist and authentication database. When you login for the first time, use the command /redeem to recieve a full set of leather armor, iron tools, and 7 diamonds! Keep yourself posted at sfxworksmc.blogspot.com! \n  -sfxworks";
$from = "[email protected]";
$headers = "From:" . $from;
mail($_POST['email'],$subject,$message,$headers) or die("Failed." . mysql_error());
echo $_POST['email'];

 

...Why in the world is this  not working? Does my web server have to have [email protected] registered? I mean, I got it once, but it was from some other email address. ( [email protected]) ...Help?

Link to comment
https://forums.phpfreaks.com/topic/241240-why-doesnt-this-send-at-all/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.