Jump to content

php newsletter help


ramboangel11

Recommended Posts

You would have to use the "Errors-to:" mail header to send the bounced messages to a email address. The bounced messages could then be read/processed by a PHP script. This is the way most email list programs operate. They usually count the number of bounces within a certain time frame and remove the email address if that number goes over some threshold.

 

Ken

Link to comment
https://forums.phpfreaks.com/topic/226492-php-newsletter-help/#findComment-1169038
Share on other sites

I'm not getting anything and I've added false emails to the email list. Also, they are coming from "anonymous" and not the email I put in the from field.

 


                $headers .= "From: [email protected]" . "\r\n";
$headers .= "Error-To: <" . "[email protected]" . ">\r\n";
$headers .= "Return-Path: <" . "[email protected]" . ">\r\n";
$headers  = 'MIME-Version: 1.0' . "\r\n";
               $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";

Link to comment
https://forums.phpfreaks.com/topic/226492-php-newsletter-help/#findComment-1169114
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.