House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / Regular Expressions (RegEx)

Finding name and email in forwarded mailmessage

Author:
Bart Buijze
02/05/2009 02:40 PM

> Hi! > > 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? > > somehow the line with the quite essential From: -tekst has vanished; the line above Sent: would read something like: Bart


Search regex

February 12, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29