MaildirMessage Class
A message of a Maildir folder: a file of its new or cur directory.
public sealed class MaildirMessageProperties
| Name | Description |
|---|---|
| Flags | Gets the flags of the message. |
| Folder | Gets the folder of the message. |
| FullPath | Gets the path of the file of the message. |
| Info | Gets the information of the name of the file, such as 2,RS, or null when the name has none. |
| IsNew | Gets whether the message is in the new directory: delivered, and not yet seen by a mail client. |
| Key | Gets the unique name of the message: the name of its file, without its information (:2,FLAGS). |
Flags
MaildirMessage.csFolder
MaildirMessage.csFullPath
MaildirMessage.csIsNew
MaildirMessage.csMethods
| Name | Description |
|---|---|
| Load(MimeReadOptions?) | Reads the message. |
| ToString() | Returns the key of the message. |
Load(MimeReadOptions?)
MaildirMessage.csReads the message.
public MimeMessage Load(MimeReadOptions? options = null)Parameters
optionsMimeReadOptions?- The options, or
nullfor the default options.
Returns
MimeMessage The message.
Exceptions
EmailResourceLimitException- The message is larger than
MimeReadOptions.MaxSize.