ImapClientGetMessage Method (Int32, Boolean) |
Gets the specified message.
Namespace:
GemBox.Email.Imap
Assembly:
GemBox.Email (in GemBox.Email.dll) Version: 15.0.35.1026
Syntax public MailMessage GetMessage(
int messageNumber,
bool withAttachments
)
Public Function GetMessage (
messageNumber As Integer,
withAttachments As Boolean
) As MailMessage
Parameters
- messageNumber
- Type: SystemInt32
The message number. - withAttachments
- Type: SystemBoolean
Determines whether the attachments should be retrieved. If set to false, only message headers and bodies (BodyText and BodyHtml) will be retrieved. Otherwise, full message will be retrieved.
Return Value
Type:
MailMessage
The specified message.
Exceptions See Also