Jump to content

Email Notification


jandrews3

Recommended Posts

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

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.