ExchangeClient Class

The ExchangeClient class allows applications to manage E-Mail box in Microsoft Exchange Server by using WebDav Exchange Store Protocol.

Inheritance Hierarchy

Namespace:  Aspose.Email.Clients.Exchange.Dav
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.10
Syntax
public sealed class ExchangeClient : ExchangeClientBase

The ExchangeClient type exposes the following members.

Constructors
  NameDescription
Public methodExchangeClient(String, ICredentials)
Initialize a new instance of the class ExchageClient
Public methodExchangeClient(String, String, String)
Initialize a new instance of the class ExchageClient
Public methodExchangeClient(String, String, String, String)
Initialize a new instance of the class ExchageClient
Properties
  NameDescription
Public propertyClientCertificate
Gets or sets the client certificate.
Public propertyCookieContainer
Gets or sets the cookie container.
Public propertyCredentials
Gets or sets the credentials
(Inherited from ExchangeClientBase.)
Public propertyEncoding
Gets or sets the encoding.
Public propertyKeepAlive
Indicates whether to keep alive.
Public propertyLogFileName
Gets or sets log file name
(Inherited from ExchangeClientBase.)
Public propertyMailboxInfo
Gets the mailbox information.
Public propertyMailboxUri
Gets or sets the mailbox uri
(Inherited from ExchangeClientBase.)
Public propertyPreAuthenticate
Indicates whether to do pre-authentication.
Public propertyProxy
Gets or sets the proxy.
(Inherited from ExchangeClientBase.)
Public propertySendChunked
Gets or sets a value indicating whether [send chunked].
Public propertyTimeout
Gets or sets the number of milliseconds to wait before the operation times out. The default value is 100,000 milliseconds (100 seconds).
(Inherited from ExchangeClientBase.)
Public propertyUseDateInLogFileName
Gets or sets value which indicates if date has to be used in log file name.
(Inherited from ExchangeClientBase.)
Methods
  NameDescription
Public methodAppendMessage(String, MailMessage)
Uploads the mail message to the specified folder
Public methodAppendMessage(String, MailMessage, Boolean)
Uploads the mail message to the specified folder
Public methodBackup(ExchangeFolderInfoCollection, Stream, BackupOptions)
Backups the content of the specified folders
Public methodBackup(ExchangeFolderInfoCollection, String, BackupOptions)
Backups the content of the specified folders
Public methodCreateContact(Contact)
Creates a contact item in the Exchange store.
Public methodCreateContact(MapiContact) Obsolete.
Creates a contact item in the Exchange store.
Public methodCreateFolder
Creates the new folder with the specified name in the specified parent folder.
Public methodDeleteContact(String)
Deletes the contact.
Public methodDeleteContact(Contact)
Deletes the contact.
Public methodDeleteContact(MapiContact)
Deletes the contact.
Public methodDeleteFolder
Deletes the folder
Public methodDeleteMessage(String)
Deletes the mail message.
Public methodDeleteMessage(String, Boolean)
Deletes the mail message.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ExchangeClientBase.)
Public methodEquals (Inherited from Object.)
Public methodFetchAttachment
Fetches the attachment
Public methodFetchMapiMessage
Fetches the mapi message with specified uri.
Public methodFetchMessage
Fetches the mail message with specified uri.
Public methodFolderExists(String, String)
Checks whether the specified folder exists.
Public methodFolderExists(String, String, ExchangeFolderInfo)
Checks whether the specified folder exists.
Public methodGetContacts
Lists contacts located in the specified folder on server
Public methodGetFolderInfo
Gets the folder information.
Public methodGetHashCode (Inherited from Object.)
Public methodGetMailboxes
Lists mailboxes in the global address list.
Public methodGetMailboxInfo
Get the information of the mailbox
Public methodGetMailboxInfo(String)
Gets the mailbox information
Public methodGetMailboxSize
Get the size of the maibox
Public methodGetMailboxSize(String)
Get the size of the maibox
Public methodGetType (Inherited from Object.)
Public methodGetVersionInfo
Returns exchange server version info
Public methodListContacts
Lists contacts located in the specified folder on server
Public methodListMailboxes
Lists mailboxes in the global address list.
Public methodListMessages(String)
Lists the messages.
Public methodListMessages(String, ExchangeListMessagesOptions)
Lists the mail message in the specified folder.
Public methodListMessages(String, Boolean)
List the messages in the specified folder
Public methodListMessages(String, Int32)
Lists the messages.
Public methodListMessages(String, String)
Lists the messages.
Public methodListMessages(String, MailQuery, Boolean)
Lists the messages.
Public methodListMessages(String, Int32, ExchangeListMessagesOptions)
List the messages in the specified folder
Public methodListMessages(String, String, Boolean)
Lists the messages.
Public methodListMessagesById
Lists the messages by id.
Public methodListPublicFolders
Gets collection of public folders from root public folder
Public methodListSubFolders(String)
Gets collection of child folders from parent
Public methodListSubFolders(ExchangeFolderInfo)
Gets collection of child public folders from parent
Public methodMoveItems(String, String)
Moves items.
Public methodMoveItems(String, Boolean, String)
Moves items.
Public methodMoveMessage(String, String)
Moves the message.
Public methodMoveMessage(ExchangeMessageInfo, String)
Moves the message.
Public methodMoveMessage(String, Boolean, String)
Moves the message.
Public methodMoveMessage(ExchangeMessageInfo, String, Boolean)
Moves the message.
Public methodResetLogSettings
Resets logging settings to default.
(Inherited from ExchangeClientBase.)
Public methodResolveContact Obsolete.
Resolves ambiguous mailbox display names. Note: the maximum count of returned contacts is 100. This is a restriction of used exchange command.
Public methodResolveContacts
Resolves ambiguous mailbox display names. Note: the maximum count of returned contacts is 100. This is a restriction of used exchange command.
Public methodRestore(Stream, RestoreOptions)
Restores exchange folders from the given personal storage.
Public methodRestore(String, RestoreOptions)
Restores exchange folders from the specified personal storage file.
Public methodRestore(PersonalStorage, RestoreOptions)
Restores exchange folders from the given personal storage.
Public methodRestore(Stream, ExchangeFolderInfoCollection, RestoreOptions)
Restores the specified exchange folders from the given personal storage.
Public methodRestore(String, ExchangeFolderInfoCollection, RestoreOptions)
Restores the specified exchange folders from the specified personal storage file.
Public methodRestore(PersonalStorage, ExchangeFolderInfoCollection, RestoreOptions)
Restores the specified exchange folders from the given personal storage.
Public methodSaveMessage(String, Stream)
Saves the message.
Public methodSaveMessage(String, String)
Saves mail message specified by the uri to local file system. The mail message file is RFC 822 compliant format (EML).
Remarks
if you want to parse the mail message files, use MailMessage.
Public methodSend
Sends the mail message.
Public methodSetReadFlag(String)
Marks the specifeid message as read.
Public methodSetReadFlag(String, Boolean)
Marks the specifeid message as read.
Public methodToString (Inherited from Object.)
See Also