jandrews3 Posted February 28, 2008 Share Posted February 28, 2008 I keep getting the following email notification: "This receipt verifies that the message has been displayed on the recipient's computer" I don't get this on some of my other scripts. What's up? Here's my code, THANKS: $fset = "-fjandrews@ithf.org"; $count = 0; if ($sendto == 1){ while ($row = mysql_fetch_array($result)) { if ($row['active'] > 1){ $to = $row['email']; $subject = $sendsubject; $body = $text; $headers = "From: jandrews@ithf.org\r\n" . "X-Mailer: php\r\n". "Return-Path: jandrews@ithf.org\r\n"."Return-Receipt-To: jandrews@ithf.org\r\n"; if (mail($to, $subject, $body, $headers, $fset)) {echo("<p>Sent to ".$row['fname']." ".$row['lname']." at ".$row['email']."</p>");} $count++; } } } Quote Link to comment Share on other sites More sharing options...
keeB Posted February 28, 2008 Share Posted February 28, 2008 You're requesting a return receipt. "Return-Receipt-To: jandrews@ithf.org\r\n"; take that out if you don't want one. Quote Link to comment 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.