C# Class Lesnikowski.Pawel.Mail.Pop3.Pop3

Show file Open project: AArnott/dasblog Class Usage Examples

Public Properties

Property Type Description
host string
password string
port int
userName string

Public Methods

Method Description
Close ( ) : void
Connect ( ) : void
DeleteMessage ( int messageNumber ) : void

Deletes message with given index when Close() is called

GetAccountStat ( ) : void
GetMessage ( int messageNumber ) : Pop3Message
GetMessageHeader ( int messageNumber ) : Pop3Message
Login ( ) : void
Pop3 ( ) : System

Private Methods

Method Description
EndsWith ( StringBuilder b, string s ) : bool
Receive ( ) : string
ReceiveLine ( ) : string
Send ( string command ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

DeleteMessage() public method

Deletes message with given index when Close() is called
public DeleteMessage ( int messageNumber ) : void
messageNumber int
return void

GetAccountStat() public method

public GetAccountStat ( ) : void
return void

GetMessage() public method

public GetMessage ( int messageNumber ) : Pop3Message
messageNumber int
return Pop3Message

GetMessageHeader() public method

public GetMessageHeader ( int messageNumber ) : Pop3Message
messageNumber int
return Pop3Message

Login() public method

public Login ( ) : void
return void

Pop3() public method

public Pop3 ( ) : System
return System

Property Details

host public property

public string host
return string

password public property

public string password
return string

port public property

public int port
return int

userName public property

public string userName
return string