Solved

Processing Outllook Mail

Posted on 2004-09-08
3
148 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

685 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