Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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[^]
 
Share this answer
 
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! :)
PST .NET does not require Outlook
 
Share this answer
 
For reading pst files make use of [spam link removed]

Material must be useful to read outlook emails
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900