Solved

Processing Outllook Mail

Posted on 2004-09-08
3
146 Views
Last Modified: 2010-04-23
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
0
Comment
Question by:surajguptha
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
123654789987 earned 200 total points
ID: 12005084
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
 
LVL 10

Expert Comment

by:123654789987
ID: 12005110
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question