Retrieve Previous Email Headers
Posted: Sat Aug 04, 2007 2:04 pm
I'm working on an automated bounce detection system that I'll submit to the community. I'm trying to capture the header details of all of the various headers in parts of bounce emails I've retrieved, specifically Swift's message-id to allow database reference. Looking through PHP 5's API docs, I've seen there's methods that return header details. I realize this is for the message swift is about to send, but is there a way to pass my raw headers from another email into swift somewhere and get those methods to return my bounced email's header info? More a question of Swift's internals, but figured it was worth a shot. I've tried everything recently to retrieve the message-id from past email headers (lower level?) to relate the captured bounce and its status to the email sent by Swift, but have yet to uncover a flexible solution. Thanks!