I have a body of text from a plain text email and for various reasons I am trying to read information out of the headers from an email lower in the chain (the email has been forwarded) - so the string looks like this:
Jonathan Nathanson
Technology Consultant
Excell One Number: 0203 123 4567
From: Matthew Smith [mailto:Matthew.Smith@acompany.co.uk]
Sent: 22 May 2015 16:28
To: 'janine@acompany.co.uk'
Cc: Mark McIntyre;
Subject: Thirsty Place - ACompany
Dear Janine,
Please find attached an o....
I want to read the information such as the name and email address out of the 'From:' line, the email address from the 'To:' line and the information in Subject line.
Does anyone have any pointers that could at least help me on my way?
Thanks very much.