Click here to Skip to main content
12,697,076 members (26,605 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C#3.5 Outlook
Dear Experts,

What is the best way to "read mails" using C#, below are my doubts

1) Reading it through .PST Files, or connecting with Outlook ?
2) Is it compulsory to install Outlook on the system where I will run the app?
3) can I read mails from remote computer?.

I would like to do this as a standalone Winforms application, not as an Outlook addin (if that is possible).

Kindly guide me the right way and also point me to some good articles.

thanks in advance

Anil :)
Posted 17-Nov-11 22:12pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You don't need to use Outlook for reading emails you can use the .net framework see this article : POP3 Email Client with full MIME Support (.NET 2.0)[^]

EDIT:
For reading Outlook items see here : http://geekswithblogs.net/TimH/archive/2006/05/26/79720.aspx[^]
  Permalink  
v2
Comments
Pandya Anil 18-Nov-11 3:22am
   
Thanks Mehdi, this is also a good solution, I will suggest to my manager..
But Can I read .PST files ?
Mehdi Gholam 18-Nov-11 3:33am
   
I have updated the solution.
Pandya Anil 18-Nov-11 3:49am
   
thanks :) its a nice article, does it mean, I need to have Outlook on my System? can't I read mails from .PST file stored on c:\ drive of my computer, or any other location on network drive ?
Mehdi Gholam 18-Nov-11 3:59am
   
PST files are a proprietary format from Microsoft, so yes you need Outlook to be installed.
Pandya Anil 18-Nov-11 5:20am
   
thanks my 5! :)
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

PST .NET does not require Outlook
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

For reading pst files make use of [spam link removed]

Material must be useful to read outlook emails
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 6 Jul 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100