Re: [PHP] reading Qmail boxes
[email protected] (Richard Kurth) Fri, 25 Apr 2008 23:43:14 -0700
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
Manuel Lemos wrote: > Hello, > > Richard Kurth wrote: > >> I what to read the email headers that are in a Qmail mailbox so that I >> can run it threw a filter and see what mail bounced for what reason. >> How do I do this being that the ownership on Qmail mailboxes are >> diferent from the owner that runs php and apache >> > > You can use this class to parse the messages and extract the addresses > from bouncing messages. > > http://www.phpclasses.org/mimeparser > > I have looked at this many times I just can't figure out how to use it. All I what to do is grab the mail out of the mailbox and see way it bounced then add that info to my program for the email user that sent it.