How to Handle Bounced-Back Email with PHP



I've written a simple e-newsletter app using the PHP mail() command.

When I do a broadcast mailing, there are always a bunch of emails that
are bonced back because the destination email address is no longer
working or valid. I'd like to be able to automatically remove these
email addresses from my mailing list, but, not sure how that could be
done with PHP.

I'm using a Red Hat Linux server with Sendmail and Apache. I've seen
mention of using Procmail or filtering mail to a certain account
through a PHP script, but, can't find detailed instructions on how this
is done.

Can anyone let me know or point me toward a site that explains how to
handle bounced-back email using Sendmail and a PHP script?

Thanks

.



Relevant Pages

  • RE: [PHP] two small issues with php mail
    ... Responses like that is encouragement to drop php and move straight to ruby! ... two small issues with php mail ... No virus found in this incoming message. ... Checked by AVG Free Edition. ...
    (php.general)
  • Dealing with Bounced Email
    ... I've written a simple e-newsletter app using the PHP mail() command. ... I want to be able to deal with bounce-backs if a member's email is no ... handle bounced-back email using Sendmail and a PHP script? ...
    (comp.lang.php)
  • FW: [PHP] two small issues with php mail
    ... [PHP] two small issues with php mail ... the online php manual is really sufficient documentation. ... No virus found in this outgoing message. ...
    (php.general)
  • RE: [PHP] two small issues with php mail
    ... If you had taken the breaths and calmed down when Stut wrote you, Chris would not have had to rewrite your own code to show the simple syntax flub that was partially causing your issue. ... [PHP] two small issues with php mail ... If Stut's answer does not make sense to you, google concatenate in the ... Can anyone show me where an "order of operations" for php mail might be ...
    (php.general)
  • Re: Hide email from spammers
    ... I was thinking in terms of php delivering the ... >>complete useable address to the php mail() function, ... scripts out there, but I want to learn to do it myself. ... BTW, speaking of cut & paste, I grabbed Charles Sweeney's mail form and ...
    (comp.lang.php)