perezf Posted September 12, 2006 Share Posted September 12, 2006 It works to gmail accounts but not to msn and hotmail :'([code]<?phpif(isset($_POST['Submit'])){$To = $_POST['from'];$Subject = "Thank You For Subscribing";$Message = "Thank you for Subscribing, ".$_POST['from'];$Headers = "From: Frank Perez <2fr3sh@gmail.com>";mail($To, $Subject, $Message, $Headers);$Too = "2fr3sh@gmail.com";$Subjecto = "New Subscription";$Messageo = "This user has just subscribed, ".$_POST['from'];$Headerso = "From: New Subscriber <$To>";mail($Too, $Subjecto, $Messageo, $Headerso);} else { ?><form name="form1" method="post" action=""> <input name="from" type="text" id="from"> <input type="submit" name="Submit" value="Submit"></form><?php } ?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/20524-mail-problems-with-msnhotmail/ Share on other sites More sharing options...
ober Posted September 12, 2006 Share Posted September 12, 2006 Check the spam boxes. Quote Link to comment https://forums.phpfreaks.com/topic/20524-mail-problems-with-msnhotmail/#findComment-90526 Share on other sites More sharing options...
perezf Posted September 12, 2006 Author Share Posted September 12, 2006 i did it just doesnt send to hotmail or msn Quote Link to comment https://forums.phpfreaks.com/topic/20524-mail-problems-with-msnhotmail/#findComment-90527 Share on other sites More sharing options...
ober Posted September 12, 2006 Share Posted September 12, 2006 I don't know what else to say then. Also keep in mind that hotmail and msn have delays. You may not get mail right away with them.Also, I've told you this before... please use more descriptive titles for your threads. If you do it again I will suspend your account for a few days. Quote Link to comment https://forums.phpfreaks.com/topic/20524-mail-problems-with-msnhotmail/#findComment-90542 Share on other sites More sharing options...
mainewoods Posted September 12, 2006 Share Posted September 12, 2006 there are many user comments on the bottom of this page that show workarounds to email problems including hotmail problems:http://us2.php.net/manual/en/ref.mail.php Quote Link to comment https://forums.phpfreaks.com/topic/20524-mail-problems-with-msnhotmail/#findComment-90688 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.