Solved

c# smtp client

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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 …
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

776 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