Click here to Skip to main content
Licence 
First Posted 26 Sep 2003
Views 115,677
Downloads 1,037
Bookmarked 41 times

POP3 Library in C#

By PramodKumarSingh | 26 Sep 2003
Complete POP3 Library with Attachment read and Save option
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
2.36/5 - 19 votes
μ 2.26, σa 2.82 [?]

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

Web Developer

South Africa South Africa

Member


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
Questiongetting attachments from email PinmemberRudyB2:32 2 Jan '12  
GeneralRecieveCallback errorThe I/O operation has been aborted because of either a thread exit or an application request Pinmemberishika_d3114:03 10 Apr '09  
GeneralThanks! PinmemberAdam Crawford5:57 17 Oct '07  
GeneralWrong reference to an object PinmemberAlbinWorld0:28 5 Jan '06  
GeneralRe: Wrong reference to an object PinmemberAlbinWorld1:11 5 Jan '06  
Generalit Doesnt work Pinmembernazli2:00 7 Mar '05  
GeneralBOKA CHODA .SUAR KA BACHHA,LAVRA. KHANKI, DHAMNA Pinsusstappi18:51 3 Nov '04  
SUAR KA BACHHA.
SAALA CODE KAAM HI NAHI KARTA HAI.
ATTACHMENTS DOWNLOAD TO DOOOOR KA BAAT HAI.
 
ITS WORTHLESS CODE.
pLEASE DON'T WASTE TIME EXPLORING IT.
 
mustafa
GeneralDon't funca Pinmemberjapasofts16:00 12 Jun '04  
GeneralCPOP3.cs Line 204 bug... PinsussCorea!18:01 9 Jun '04  
GeneralRe: CPOP3.cs Line 204 bug... PinmemberAdam Crawford5:52 17 Oct '07  
Questioncan i use this using vb.net? Pinsussgleceper17:21 8 Jun '04  
GeneralPOP3 Attachment, Please help me Pinmembertungbui17:49 14 May '04  
GeneralRe: POP3 Attachment, Please help me Pinmemberlesnikowski13:54 6 Nov '05  
GeneralPOP3 Bug Pinmembertungbui18:48 11 May '04  
GeneralDelete after read Pinmemberagus_ayala3:03 7 Mar '04  
GeneralAttachment Pinmemberdinu_3gee2:09 23 Feb '04  
QuestionPOP3 with SSL??? Pinmemberxhris19:18 10 Feb '04  
AnswerRe: POP3 with SSL??? PinsussAnonymous15:06 22 Feb '05  
GeneralAttachment PinmemberThomas Phan17:07 30 Nov '03  
GeneralRe: Attachment PinmemberJeffrey Scott Flesher8:04 31 Dec '03  
GeneralRe: Attachment Pinmemberloop0717:34 16 Sep '04  
GeneralRe: Attachment PinmemberJeffrey Scott Flesher10:07 5 Jul '05  
GeneralPlease PinsussSurya sekhar Bhattacharya19:04 3 Nov '04  
GeneralRe: Please PinmemberJeffrey Scott Flesher10:09 5 Jul '05  
GeneralRe: Attachment Pinsusstomstrummer5:05 5 Jul '05  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120210.1 | Last Updated 27 Sep 2003
Article Copyright 2003 by PramodKumarSingh
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid