Reading emails with PHP
| From: | Chris Payne | Date: | Thu, 18 Dec 2003 22:22:36 +0000 |
| Subject: | Reading emails with PHP | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32120@lists.php.net to get a copy of this message | ||
Hi there everyone,
A quick question, is it possible to read a failed mail email and pick out the failed email address?
I have around 900 failed emails (Don't ask, long story) from a client and what I want to do is
just put the emails in a folder and cycle through the folder and pickout the email addresses.
Cycling through a folder isn't difficult, neither is removing an email from the DB in a loop,
but how can I - if it's possible - open an email and find the failed line and grab the failed
email address from that?
Any help, tips would be REALLY appreciated as I REALLY don't want to spend a few days doing it
manually.
Oh and Merry Christmas / Happy Holidays.
Chris