5,699,431 members and growing! (17,296 online)
Email Password   helpLost your password?
General Programming » Internet / Network » Email     Intermediate

POP3 Library in C#

By PramodKumarSingh

Complete POP3 Library with Attachment read and Save option
C#Windows, .NET, .NET 1.1, Win2K, WinXP, Win2003VS.NET2003, Visual Studio, Dev

Posted: 26 Sep 2003
Updated: 26 Sep 2003
Views: 76,400
Bookmarked: 29 times
Announcements
Loading...



Search    
Advanced Search
Sitemap
19 votes for this Article.
Popularity: 2.89 Rating: 2.26 out of 5
9 votes, 47.4%
1
2 votes, 10.5%
2
2 votes, 10.5%
3
3 votes, 15.8%
4
3 votes, 15.8%
5

Introduction

POP3 Library is an implementation of POP3 protocol. This library supports attachments within the messages and uses delegates in C# to provide with all the necessary feedback to the user of the library.

POP3 events from the library are passed to the client application by means of delegates:

public delegate void POP3Error(string errorMsg);
public delegate void 
     POP3MsgRetrivalStatus(int MsgNumber,int MsgSize,int MsgRetsize);
public delegate void POP3Complete();
public delegate void POP3MsgComplete(int MsgNumber,string MsgHeader);

The simple interface provided by the library can be used by any GUI application to get the POP3 messages.

public POP3(string UserName,string Password,string Server,bool DelAfterRead) is the constructor, which accepts the username, password, server, and property to delete the message after read.

A sample application to use the library is provided with this article.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

PramodKumarSingh



Occupation: Web Developer
Location: South Africa South Africa

Other popular Internet / Network articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 25 of 40 (Total in Forum: 40) (Refresh)FirstPrevNext
GeneralThanks!memberAdam Crawford5:57 17 Oct '07  
GeneralWrong reference to an objectmemberAlbinWorld0:28 5 Jan '06  
GeneralRe: Wrong reference to an objectmemberAlbinWorld1:11 5 Jan '06  
Generalit Doesnt workmembernazli2:00 7 Mar '05  
GeneralBOKA CHODA .SUAR KA BACHHA,LAVRA. KHANKI, DHAMNAsusstappi18:51 3 Nov '04  
GeneralDon't funcamemberjapasofts16:00 12 Jun '04  
GeneralCPOP3.cs Line 204 bug...sussCorea!18:01 9 Jun '04  
GeneralRe: CPOP3.cs Line 204 bug...memberAdam Crawford5:52 17 Oct '07  
Generalcan i use this using vb.net?sussgleceper17:21 8 Jun '04  
GeneralPOP3 Attachment, Please help memembertungbui17:49 14 May '04  
GeneralRe: POP3 Attachment, Please help mememberlesnikowski13:54 6 Nov '05  
GeneralPOP3 Bugmembertungbui18:48 11 May '04  
GeneralDelete after readmemberagus_ayala3:03 7 Mar '04  
GeneralAttachmentmemberdinu_3gee2:09 23 Feb '04  
GeneralPOP3 with SSL???memberxhris19:18 10 Feb '04  
GeneralRe: POP3 with SSL???sussAnonymous15:06 22 Feb '05  
GeneralAttachmentmemberThomas Phan17:07 30 Nov '03  
GeneralRe: AttachmentmemberJeffrey Scott Flesher8:04 31 Dec '03  
GeneralRe: Attachmentmemberloop0717:34 16 Sep '04  
GeneralRe: AttachmentmemberJeffrey Scott Flesher10:07 5 Jul '05  
GeneralPleasesussSurya sekhar Bhattacharya19:04 3 Nov '04  
GeneralRe: PleasememberJeffrey Scott Flesher10:09 5 Jul '05  
GeneralRe: Attachmentsusstomstrummer5:05 5 Jul '05  
GeneralRe: AttachmentmemberJeffrey Scott Flesher10:15 5 Jul '05  
GeneralDoesn't work in VS 1.0.3705membervirabadrasana2:30 14 Nov '03  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 26 Sep 2003
Editor: Smitha Vijayan
Copyright 2003 by PramodKumarSingh
Everything else Copyright © CodeProject, 1999-2008
Web15 | Advertise on the Code Project