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 = "[email protected]"; $count = 0; if ($sendto == 1){ while ($row = mysql_fetch_array($result)) { if ($row['active'] > 1){ $to = $row['email']; $subject = $sendsubject; $body = $text; $headers = "From: [email protected]\r\n" . "X-Mailer: php\r\n". "Return-Path: [email protected]\r\n"."Return-Receipt-To: [email protected]\r\n"; if (mail($to, $subject, $body, $headers, $fset)) {echo("<p>Sent to ".$row['fname']." ".$row['lname']." at ".$row['email']."</p>");} $count++; } } } Link to comment https://forums.phpfreaks.com/topic/93449-email-notification/ 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: [email protected]\r\n"; take that out if you don't want one. Link to comment https://forums.phpfreaks.com/topic/93449-email-notification/#findComment-478752 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.