C# Class ImapClient, CanvasControlLibrary

Summary description for ImapClient
显示文件 Open project: akshaysrin/CanvasControlLibrary Class Usage Examples

Public Methods

Method Description
GetAllFolders ( ) : List
GetAllHeaders ( string mailbox, bool seen = true ) : List
GetMessageBody ( string id, string mailbox ) : string
ImapClient ( string hostname, int port, string username, string password, bool ssl = false ) : System
ImapClient ( string hostname, string username, string password, int port, bool ssl ) : System
Logout ( ) : void
SelectMailbox ( string mailboxname ) : void

Private Methods

Method Description
GetTag ( ) : string
QuoteString ( string value ) : string
readstreamdata ( string tagstr ) : List
writestreamdata ( string data ) : void

Method Details

GetAllFolders() public method

public GetAllFolders ( ) : List
return List

GetAllHeaders() public method

public GetAllHeaders ( string mailbox, bool seen = true ) : List
mailbox string
seen bool
return List

GetMessageBody() public method

public GetMessageBody ( string id, string mailbox ) : string
id string
mailbox string
return string

ImapClient() public method

public ImapClient ( string hostname, int port, string username, string password, bool ssl = false ) : System
hostname string
port int
username string
password string
ssl bool
return System

ImapClient() public method

public ImapClient ( string hostname, string username, string password, int port, bool ssl ) : System
hostname string
username string
password string
port int
ssl bool
return System

Logout() public method

public Logout ( ) : void
return void

SelectMailbox() public method

public SelectMailbox ( string mailboxname ) : void
mailboxname string
return void