Reading e-mail from Exchange

J

JoshP

I have an inhouse ASP.net helpdesk application; it tracks helpdesk tickets.
I would like the application to be able to read ticket responses sent by
users to a specific e-mail address and insert the information contained in
the e-mail in a ticket. Like many issue tracking systems, i would make sure
there was some type of ID in the subject or body that I could read and know
which ticket the e-mail belongs to. The problem is that I am unsure how to
best go about reading e-mail from the specific mailbox using C#? Any ideas?
 
P

Peter Duniho

[...] The problem is that I am unsure how to
best go about reading e-mail from the specific mailbox using C#? Any
ideas?

If you have a known email client that is being used, and it supports
automation through .NET (e.g. Microsoft Outlook), then you can use the
automation API to access email messages.

Otherwise, there's no email-specific support in .NET for reading email.
You'd need to write your own.

POP and IMAP are reasonably simple and well-documented APIs, so if the
protocol you're dealing with is either of those it probably wouldn't be
too hard. You'll want to find a form more specifically related to mail
clients using those formats though, except of course for questions that
really are about C# and/or .NET and only tangentially related to the fact
that you're trying to implement a mail client.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top