Solved

c# smtp client

Posted on 2010-11-23
2
514 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 500 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

If you don't know how to downgrade, my instructions below should be helpful.
Are you unable to connect or configure Hotmail email account in Microsoft Outlook 2010, 2007? Or Outlook.com emails are not downloading to Outlook? Lets’ see the problem and resolve Outlook Connector error syncing folder hierarchy (0x8004102A).
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now