PDA

View Full Version : Parsing Email in an Application


JHaynes
12-07-2007, 09:16 AM
Okay, I have a question and perhaps somebody can assist me.

I have a client who recieves emails from PayPal every time a transaction is made.What he wants to do with these emails is retrieve the dollar information from the message text to do financial calculations. Right now, he performs this manually.

My question is, how can I open emails that come in and parse through the text in the message in an application?
Are there good tutorials or references?

Thanks,
Joshua Haynes

bruce
12-08-2007, 07:55 AM
You can use one of the POP3 component to retrieve the email and then use basic .NET string functions to parse the email content.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)