Mailbox ClassIpswitch.Messaging.Framework
Class for accessing Mailbox (.mbx) files.
Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    IMailAPI_NETMailbox

Namespace: IMailAPI_NET
Assembly: IMailAPI_NET (in IMailAPI_NET.dll) Version: 1.0.0.0
Syntax

public class Mailbox : MarshalByRefObject, IComparable, 
	IComparer

The Mailbox type exposes the following members.

Constructors

  NameDescription
Public methodMailbox
Initializes a new instance of the Mailbox class
Public methodMailbox(String)
Loads the mailbox based on the passed in path
Public methodMailbox(String, String)
loads a mailbox based on the passed in path. The relative path (display path) is only stored
Top
Methods

  NameDescription
Public methodAddMessage(String)
Public methodAddMessage(StringBuilder)
Public methodAddMessageFile
Add a message to the mailbox - in this case the string points to a file.
Public methodAutoResponderClearRecipients
Clear the recipients list for the Auto Responder for this Mailbox
Public methodAutoResponderDelete
Remove the Auto Responder from this mailbox.
Public methodCompare
Public methodCompareTo
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDelete
Public methodDeleteAllMessages
Deletes all messages in a mailbox
Public methodDeleteMessages(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
Public methodDeleteMessages(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
Public methodDeleteUid
Public methodDeleteWebData
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetMessage(UInt32, Boolean)
Public methodGetMessage(UInt32, MbxMessage, Boolean)
Loads a messages based on the passed in ID
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodMessageIsUnread
Public methodRename
Public methodSetMessageAllowImages
Public methodSetMessageAnswered
Public methodSetMessageAttached
Public methodSetMessageDraft
Public methodSetMessageFlagged
Public methodSetMessageForwarded
Public methodSetMessageRead
Public methodSetMessageReceipt
Public methodSetMessageReread
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyAutoResponderEnabled
Gets or sets a value indicating whether the Auto Responder for this mailbox is enabled.
Public propertyAutoResponderExists
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.
Public propertyAutoResponderForward
Gets or sets the Forwarding address used by the Auto Responder for this Mailbox.
Public propertyAutoResponderMessage
Gets or sets the message string the Auto Responder for this Mailbox will respond with.
Public propertyAutoResponderRecipients
Gets a string array of addresses who have recieved a response from the Auto Responder for this Mailbox
Public propertyDateCount
Public propertyFirstUnread
Public propertyFlags
Public propertyFullDirPath
Gets the full path to the directory where all files for this mailbox are kept.
Public propertyFullPath
Public propertyGuid
Public propertyIsDirectory
Public propertyLastAccess
Public propertyLastRead
Public propertyLastUIDL
Public propertyMbxFileAccessed
Public propertyMbxFileCreated
Public propertyMbxFileExists
Public propertyMbxFileModified
Public propertyMbxFileSize
Public propertyMessageCount
Public propertyName
Public propertyRelativePath
Public propertySize
Public propertyUidFileAccessed
Public propertyUidFileCreated
Public propertyUidFileExists
Public propertyUidFileModified
Public propertyUidFilePath
Public propertyUidFileSize
Public propertyUnreadCount
Public propertyValidity
Public propertyWebDataFileAccessed
Public propertyWebDataFileCreated
Public propertyWebDataFileExists
Public propertyWebDataFileModified
Public propertyWebDataFilePath
Public propertyWebDataFileSize
Top
See Also

Reference