Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / March 2008

Tip: Looking for answers? Try searching our database.

Reading e-mail from Exchange

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JoshP - 07 Mar 2008 18:19 GMT
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?
Peter Duniho - 07 Mar 2008 18:41 GMT
> [...] 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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.