Property | Type | Description | |
---|---|---|---|
IMAP_COMMAND_VAL | ushort | ||
m_bIsConnected | bool | ||
m_bSSLEnabled | bool | ||
m_nPort | ushort | ||
m_sHost | string | ||
m_sPassword | string | ||
m_sUserId | string |
Method | Description | |
---|---|---|
Capability ( ) : void |
IMAP Capability command
|
|
ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool |
Validate Certificate
|
Method | Description | |
---|---|---|
Connect ( string sHost, ushort nPort, bool sslEnabled = false ) : ImapResponseEnum |
Connect to specified host and port
|
|
Disconnect ( ) : void |
Disconnect connection with Imap server
|
|
Log ( LogTypeEnum type, string log ) : void |
Logging function
|
|
Receive ( ArrayList &sResultArray ) : ImapResponseEnum |
retrieve response
|
|
ReceiveBuffer ( string &sBuffer, int nSize ) : int |
Read the Server Response by specified size
|
|
SendAndReceive ( string command, ArrayList &sResultArray ) : ImapResponseEnum |
Send command to server and retrieve response
|
|
SendAndReceiveByNumLines ( string command, ArrayList &sResultArray, int nNumLines ) : ImapResponseEnum |
Send command to server and retrieve response
|
protected Connect ( string sHost, ushort nPort, bool sslEnabled = false ) : ImapResponseEnum | ||
sHost | string | Imap host |
nPort | ushort | Imap port |
sslEnabled | bool | |
return | ImapResponseEnum |
protected Log ( LogTypeEnum type, string log ) : void | ||
type | LogTypeEnum | Log type;LogTypeEnum |
log | string | Log data |
return | void |
protected Receive ( ArrayList &sResultArray ) : ImapResponseEnum | ||
sResultArray | ArrayList | Imap Server response |
return | ImapResponseEnum |
protected ReceiveBuffer ( string &sBuffer, int nSize ) : int | ||
sBuffer | string | |
nSize | int | |
return | int |
protected SendAndReceive ( string command, ArrayList &sResultArray ) : ImapResponseEnum | ||
command | string | Command to send Imap Server |
sResultArray | ArrayList | Imap Server response |
return | ImapResponseEnum |
protected SendAndReceiveByNumLines ( string command, ArrayList &sResultArray, int nNumLines ) : ImapResponseEnum | ||
command | string | Command to send Imap Server |
sResultArray | ArrayList | Imap Server response |
nNumLines | int | |
return | ImapResponseEnum |
public ValidateServerCertificate ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) : bool | ||
sender | object | |
certificate | X509Certificate | |
chain | X509Chain | |
sslPolicyErrors | SslPolicyErrors | |
return | bool |
protected static ushort IMAP_COMMAND_VAL | ||
return | ushort |