Processing Outllook Mail

There is a distribution list in my organisation that is used for asking and solving queries. I need to read those mails and put them into a database.
What should i do to read them using C#?
Are there any classes that the framework proivdes?

If any of you have any experiences doing something please let me know how this can be done

Thanks
LVL 21
surajgupthaAsked:
Who is Participating?
 
123654789987Connect With a Mentor Commented:
Hi Suraj,

U have a class called

 MailMessage mesg = new MailMessage; // MailMessage class is a part of System.Web.Mail assembly
string str = mesg.Body; // u can get the contents of the message.

U can then split this string based on some delimiting characters and store them in the database

U can also refer to this link-

http://www.dotnetjunkies.com/Tutorial/2E1EEEAF-C78A-4A38-A830-AC204B12DF83.dcik
0
 
123654789987Commented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.