Solved

c# smtp client

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

838 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