• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 155
  • Last Modified:

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

  • 2
1 Solution
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-

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.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now