Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.5 Outlook pst WinForm
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 Smile | :)
Posted 17-Nov-11 21: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 at 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 at 18-Nov-11 3:33am
   
I have updated the solution.
Pandya Anil at 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 at 18-Nov-11 3:59am
   
PST files are a proprietary format from Microsoft, so yes you need Outlook to be installed.
Pandya Anil at 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
0 CHill60 360
1 Sarvesh Kumar Gupta 213
2 OriginalGriff 193
3 Peter Leow 155
4 RyanDev 145


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