> 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: > ________________________________________ > From: Firstname Lastname [mailto:[email protected]] > 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: > From: Firstname Lastname [mailto:[email protected]] Bart
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1219 Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21
