[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

c# smtp client

Posted on 2010-11-23
2
Medium Priority
?
525 Views
Last Modified: 2012-05-10
Hi,

I need to poll an email server for emails and download the latest emails, like a very simple email client. Has anyone got a piece of code to do this using c# ?

All help much appreciated.
Thanks,
John
0
Comment
Question by:johnmc33
2 Comments
 
LVL 20

Expert Comment

by:BuggyCoder
ID: 34199321
I hope you are aware about POP3 protocol.
here is an implementation of the same to read mails from a mail server in c#
http://www.codeproject.com/KB/IP/despop3client.aspx
0
 
LVL 1

Accepted Solution

by:
mmahdi earned 2000 total points
ID: 34204165
Retrieving emails is a little bit more complex than sending them but there are a couple of open source implementations of the POP3 protocol

http://sourceforge.net/projects/hpop/
http://csharpmail.codeplex.com/

both of them are very easy to use and contain sample client code.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question