Class for accessing Mailbox (.mbx) files.
Inheritance Hierarchy
SystemMarshalByRefObject
IMailAPI_NETMailbox
Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax
The Mailbox type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Mailbox | Initializes a new instance of the Mailbox class | |
| Mailbox(String) |
Loads the mailbox based on the passed in path
| |
| Mailbox(String, String) |
loads a mailbox based on the passed in path. The relative path (display path) is only stored
|
Methods
| Name | Description | |
|---|---|---|
| AddMessage(String) | ||
| AddMessage(StringBuilder) | ||
| AddMessageFile |
Add a message to the mailbox - in this case the string points to a file.
| |
| AutoResponderClearRecipients |
Clear the recipients list for the Auto Responder for this Mailbox
| |
| AutoResponderDelete |
Remove the Auto Responder from this mailbox.
| |
| Compare | ||
| CompareTo | ||
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | |
| Delete | ||
| DeleteAllMessages |
Deletes all messages in a mailbox
| |
| DeleteMessages(String, Boolean) |
Deletes a list of messages passed in the string. IDs can be either index or
uidl. If UIDL, bByUIDL should be set to true
| |
| DeleteMessages(UInt32, Boolean) |
Deletes a list of messages passed in the UINT array. IDs can be either index or
uidl. If UIDL, bByUIDL should be set to true
| |
| DeleteUid | ||
| DeleteWebData | ||
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| GetMessage(UInt32, Boolean) | ||
| GetMessage(UInt32, MbxMessage, Boolean) |
Loads a messages based on the passed in ID
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | |
| MessageIsUnread | ||
| Rename | ||
| SetMessageAllowImages | ||
| SetMessageAnswered | ||
| SetMessageAttached | ||
| SetMessageDraft | ||
| SetMessageFlagged | ||
| SetMessageForwarded | ||
| SetMessageRead | ||
| SetMessageReceipt | ||
| SetMessageReread | ||
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AutoResponderEnabled |
Gets or sets a value indicating whether the Auto Responder for this mailbox is enabled.
| |
| AutoResponderExists |
Gets a value indicating whether an Auto Responder exists for this mailbox.
This will check to see if the any one of the 4 Auto Responder files (.inf,
.old, .fwd, and .oldfwd) exist. Returns true if at least one of these
files exists.
| |
| AutoResponderForward |
Gets or sets the Forwarding address used by the Auto Responder for this Mailbox.
| |
| AutoResponderMessage |
Gets or sets the message string the Auto Responder for this Mailbox will respond with.
| |
| AutoResponderRecipients |
Gets a string array of addresses who have recieved a response from the Auto Responder for this Mailbox
| |
| DateCount | ||
| FirstUnread | ||
| Flags | ||
| FullDirPath |
Gets the full path to the directory where all files for this mailbox are kept.
| |
| FullPath | ||
| Guid | ||
| IsDirectory | ||
| LastAccess | ||
| LastRead | ||
| LastUIDL | ||
| MbxFileAccessed | ||
| MbxFileCreated | ||
| MbxFileExists | ||
| MbxFileModified | ||
| MbxFileSize | ||
| MessageCount | ||
| Name | ||
| RelativePath | ||
| Size | ||
| UidFileAccessed | ||
| UidFileCreated | ||
| UidFileExists | ||
| UidFileModified | ||
| UidFilePath | ||
| UidFileSize | ||
| UnreadCount | ||
| Validity | ||
| WebDataFileAccessed | ||
| WebDataFileCreated | ||
| WebDataFileExists | ||
| WebDataFileModified | ||
| WebDataFilePath | ||
| WebDataFileSize |
See Also