johnsmith153 Posted September 16, 2008 Share Posted September 16, 2008 I know it needs a bit more in terms of checking for errors etc, but this should still send (if correct data in url) It doesnt: $to = "TESTNAME <".$_GET['email'].">"; $subject = "TEST SUBJECT"; $message = "name=".$_GET['name']."&email=".$_GET['email']."&phone=".$_GET['phone']."&terms_conditions=1&x=".$_GET['x']."&y=".$_GET['y']; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; $headers .= "Return-Path: ".$_GET['email']."\r\n"; $headers .= "From: ME <".$_GET['email'].">\r\n"; $headers .= "Reply-To: ".$_GET['email']."\r\n"; mail($to,$subject,$message,$headers) Link to comment https://forums.phpfreaks.com/topic/124524-what-is-wrong-with-my-email-send-script/ Share on other sites More sharing options...
revraz Posted September 16, 2008 Share Posted September 16, 2008 Need to check your server log for the error. Link to comment https://forums.phpfreaks.com/topic/124524-what-is-wrong-with-my-email-send-script/#findComment-643043 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.