|
Mailing Lists
|
Home / Groups / Regular Expressions (RegEx)
Finding name and email in forwarded mailmessageHi! I'm working on an application in which I would like to administer some mailmessages that I received locally in Outlook. The first step I foresee is forwarding the message to a mail-account which is polled by the application. In the application I would like to save the message to the person that send me the (original) message. That means that I'll have to find a way of searching the mail-message text and have the application look for the original (or at least last) sender. This would mean looking for something like this: ________________________________________ Sent: thursday february 5, 2009 9:49 To: Me Subject: Subjecttext I guess the exact formatting of this information will be slightly different depending on the client-software used, so maybe I'll have to use slightly different search-schemes accordingly. What would be great is a way to find Name, emailaddress, date and subject. That way I could administer all this info in the application. I'm afraid that I have used and mainly altered existing Regex, but am entirely not sure how to tackle this in some intelligent way..:-) Anyone any suggestions? |
February 12, 2012
|
Latest Fusion Authority Articles
|
|||||||||||||||||||||||||||||||||||||||||||||||||