Метод | Описание | |
---|---|---|
Authenticate ( string userName, string password ) : void |
Authenticates user.
|
|
Connect ( string host, int port ) : void |
Connects to IMAP server.
|
|
CopyMessages ( int startMsgNo, int endMsgNo, string destFolder, bool uidCopy ) : void |
Makes copy of messages to specified folder.
|
|
CreateFolder ( string folderName ) : void |
Creates specified folder.
|
|
DeleteFolder ( string folderName ) : void |
Deletes specified folder.
|
|
DeleteFolderACL ( string folderName, string userName ) : void |
Deletes specifieed user access to specified folder.
|
|
DeleteMessages ( int startMsgNo, int endMsgNo, bool uidDelete ) : void |
Deletes specified messages.
|
|
Disconnect ( ) : void |
Disconnects from IMAP server.
|
|
Dispose ( ) : void |
Clean up any resources being used.
|
|
FetchMessages ( int startMsgNo, int endMsgNo, bool uidFetch, bool headersOnly, bool setSeenFlag ) : LumiSoft.Net.IMAP.Client.IMAP_FetchItem[] |
Fetches messages headers or full messages data.
|
|
GetFolderACL ( string folderName ) : void |
TODO:
|
|
GetFolderMyrights ( string folderName ) : IMAP_ACL_Flags |
Gets myrights to specified folder.
|
|
GetFolderSeparator ( ) : string |
Gets IMAP server folder separator char.
|
|
GetFolders ( ) : string[] |
Gets all available folders.
|
|
GetMessagesTotalSize ( ) : int |
Gets messages total size in selected folder.
|
|
GetSubscribedFolders ( ) : string[] |
Gets all subscribed folders.
|
|
GetUnseenMessagesCount ( ) : int |
Gets unseen messages count in selected folder.
|
|
IMAP_Client ( ) : System |
Default constructor.
|
|
MoveMessages ( int startMsgNo, int endMsgNo, string destFolder, bool uidMove ) : void |
Moves messages to specified folder.
|
|
RenameFolder ( string sourceFolderName, string destinationFolderName ) : void |
Renames specified folder.
|
|
SelectFolder ( string folderName ) : void |
Selects specified folder.
|
|
SetFolderACL ( string folderName, string userName, IMAP_ACL_Flags acl ) : void |
Sets specified user ACL permissions for specified folder.
|
|
StoreMessage ( string folderName, byte data ) : void |
Stores message to specified folder.
|
|
StoreMessageFlags ( int startMsgNo, int endMsgNo, bool uidStore, IMAP_MessageFlags msgFlags ) : void |
Stores message folgs to sepcified messages range.
|
|
SubscribeFolder ( string folderName ) : void |
Subscribes specified folder.
|
|
UnSubscribeFolder ( string folderName ) : void |
UnSubscribes specified folder.
|
Метод | Описание | |
---|---|---|
DecodeUtf7 ( string str ) : string | ||
EncodeUtf7 ( string str ) : string | ||
IsStatusResponse ( string line ) : bool |
public Authenticate ( string userName, string password ) : void | ||
userName | string | User name. |
password | string | Password. |
Результат | void |
public Connect ( string host, int port ) : void | ||
host | string | Host name. |
port | int | Port number. |
Результат | void |
public CopyMessages ( int startMsgNo, int endMsgNo, string destFolder, bool uidCopy ) : void | ||
startMsgNo | int | Start message number. |
endMsgNo | int | End message number. -1 = last. |
destFolder | string | Folder where to cpoy messages. |
uidCopy | bool | Specifies if startMsgNo and endMsgNo is message UIDs. |
Результат | void |
public CreateFolder ( string folderName ) : void | ||
folderName | string | Folder name. Eg. test, Inbox/SomeSubFolder. NOTE: use GetFolderSeparator() to get right folder separator. |
Результат | void |
public DeleteFolder ( string folderName ) : void | ||
folderName | string | Folder name. |
Результат | void |
public DeleteFolderACL ( string folderName, string userName ) : void | ||
folderName | string | Folder which ACL to remove. |
userName | string | User name who's ACL to remove. |
Результат | void |
public DeleteMessages ( int startMsgNo, int endMsgNo, bool uidDelete ) : void | ||
startMsgNo | int | Start message number. |
endMsgNo | int | End message number. -1 = last. |
uidDelete | bool | Specifies if startMsgNo and endMsgNo is message UIDs. |
Результат | void |
public FetchMessages ( int startMsgNo, int endMsgNo, bool uidFetch, bool headersOnly, bool setSeenFlag ) : LumiSoft.Net.IMAP.Client.IMAP_FetchItem[] | ||
startMsgNo | int | Start message number. |
endMsgNo | int | End message number. -1 = last. |
uidFetch | bool | Specifies if startMsgNo and endMsgNo is message UIDs. |
headersOnly | bool | If true message headers are retrieved, otherwise full message retrieved. |
setSeenFlag | bool | If true message seen flag is setted. |
Результат | LumiSoft.Net.IMAP.Client.IMAP_FetchItem[] |
public GetFolderACL ( string folderName ) : void | ||
folderName | string | |
Результат | void |
public GetFolderMyrights ( string folderName ) : IMAP_ACL_Flags | ||
folderName | string | |
Результат | IMAP_ACL_Flags |
public GetSubscribedFolders ( ) : string[] | ||
Результат | string[] |
public MoveMessages ( int startMsgNo, int endMsgNo, string destFolder, bool uidMove ) : void | ||
startMsgNo | int | Start message number. |
endMsgNo | int | End message number. -1 = last. |
destFolder | string | Folder where to cpoy messages. |
uidMove | bool | Specifies if startMsgNo and endMsgNo is message UIDs. |
Результат | void |
public RenameFolder ( string sourceFolderName, string destinationFolderName ) : void | ||
sourceFolderName | string | Source folder name. |
destinationFolderName | string | Destination folder name. |
Результат | void |
public SelectFolder ( string folderName ) : void | ||
folderName | string | Folder name. |
Результат | void |
public SetFolderACL ( string folderName, string userName, IMAP_ACL_Flags acl ) : void | ||
folderName | string | Folder name which ACL to set. |
userName | string | User name who's ACL to set. |
acl | IMAP_ACL_Flags | ACL permissions to set. |
Результат | void |
public StoreMessage ( string folderName, byte data ) : void | ||
folderName | string | Folder where to store message. |
data | byte | Message data which to store. |
Результат | void |
public StoreMessageFlags ( int startMsgNo, int endMsgNo, bool uidStore, IMAP_MessageFlags msgFlags ) : void | ||
startMsgNo | int | Start message number. |
endMsgNo | int | End message number. |
uidStore | bool | Sepcifies if message numbers are message UID numbers. |
msgFlags | IMAP_MessageFlags | Message flags to store. |
Результат | void |
public SubscribeFolder ( string folderName ) : void | ||
folderName | string | Folder name. |
Результат | void |
public UnSubscribeFolder ( string folderName ) : void | ||
folderName | string | Folder name, |
Результат | void |