Parsing bounced emails

From: Date: Wed, 30 Mar 2005 17:05:57 +0000
Subject: Parsing bounced emails
Groups: php.general 
Request: Send a blank email to php-general+get-211895@lists.php.net to get a copy of this message
I need to parse bounced email I receive when I send a newsletter, to know the bounced address, the error code and the Id of the newsletter I sent. The bounced emails return to "bounce@myserver.com" address, so I can either read them with imap functions or sending to a php script by a pipe. What is better? IMAP or pipe? Now, the most important question: once I read the message, how can I parse it and read the bounced email address and the error code? Has anyone worked on these questions? Is there anything (classes, scripts, functions, whatever you want) I can use? Or is it such a strange problem? Thanks Aldo __________________________________________________________________ Tiscali Adsl 3 Mega Flat con 3 MESI GRATIS! Con Tiscali Adsl 3 Mega Flat navighi con la Supervelocita' a soli 29.95 euro al mese, senza limiti di tempo. E se attivi entro il 31 Marzo, 3 MESI sono GRATIS! Scopri come su http://abbonati.tiscali.it/adsl/sa/2flat_tc/

« previous php.general (#211895) next »