You are here: Re: PHP mass emailing and handling bounces « PHP Programming Language « IT news, forums, messages
Re: PHP mass emailing and handling bounces

Posted by Gordon Burditt on 06/14/05 19:07

>I'm putting together a mass mailing application for sending out newsletters
>from a site admin area (no spam).
>
>I'm wondering how I can automate the removal of bounced addresses in this
>application. The ideal situation would be that returning mail triggers a
>script that removes the address of said message's recipient from the list.
>
>I'm thinking about a script that checks the pop3 server of the reply-to
>address and parses the inbox to look for returned mail and removes those
>addresses from my database. This script could be run periodically as a cron
>job or everytime before sending out the next mailing.
>
>Any other suggestions, ideas?

*IF* you can arrange it, point your reply-to address to a mailbox
hosted on a server that supports .forward files or aliases that
pipe into a program. (Linux or BSD host running Sendmail, Smail,
Exim, or similar). Your program (which could be standalone PHP if
it's available) gets invoked with the bounce as standard input. It
reads the headers, finds the coded info you stuck in the header to
indicate who you sent to, and uses it to flag and/or delete bouncing
addresses in your database.

There's no need for polling a pop3 box. It takes no CPU time if
nothing bounces. However, if you're doing this on a cheap hosted
web site, it's probably difficult to get this kind of access.

Gordon L. Burditt

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация