SocketTools .NET Edition

MailMessage.MimeStorage Enumeration

Specifies the message store access options supported by the MailMessage class.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum MailMessage.MimeStorage
[C#]
[Flags]
public enum MailMessage.MimeStorage

Members

Member Name Description Value
storeRead The message store will be opened for read access. The contents of the message store can be accessed, but cannot be modified by the process unless it has also been opened for writing. 0
storeWrite The message store will be opened for writing. This mode also implies read access and must be specified if the application needs to modify the contents of the message store. 1
storeCreate The message store will be created if the storage file does not exist. If the file exists, it will be truncated. This mode implies read and write access. 2
storeLock The message store will be opened so that it may only be accessed and modified by the current process. 4
storeCompress The contents of the message store are compressed. This option is automatically enabled if a compressed message store is opened for reading or writing. 4096
storeMailbox The message store should use the UNIX mbox format when reading and storing messages. This option is provided for backwards compatibility and is not recommended for general use. 8192

Requirements

Namespace: SocketTools

Assembly: SocketTools.MailMessage (in SocketTools.MailMessage.dll)

See Also

SocketTools Namespace | OpenStore Method (SocketTools.MailMessage)