I need a PHP code functions or class that can parse RAW email data that is submitted into a text box. It must be able to retrieve the Received field, Return envelope, to field, all the header fields, and if possible any fields in the text of the message that contains domains and/or emails. A sample of a raw message format is copied below. The purpose for this is to use it for extracting all the necessary information from an email to use in my Realtime Black List. If you wish I can send you a sample of a RAW email as received in OE 6.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.