ImapClient.FetchMessage
Contents
[
Hide
]FetchMessage(IConnection, int)
Fetches the message
public MailMessage FetchMessage(IConnection connection, int sequenceNumber)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of message |
Return Value
MailMessage
that represents e-mail message
See Also
- class MailMessage
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessage(IConnection, int, bool)
Fetches the message
public MailMessage FetchMessage(IConnection connection, int sequenceNumber, bool ignoreAttachment)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of message |
ignoreAttachment | Boolean | A value that defines whether the attachments should not be loaded. If it is set to true , then only message headers, message body and attachment information are fetched. Attachment content is not loaded |
Return Value
MailMessage
that represents e-mail message
See Also
- class MailMessage
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessage(int)
Fetches the message
public MailMessage FetchMessage(int sequenceNumber)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of message |
Return Value
MailMessage
that represents e-mail message
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessage(int, bool)
Fetches the message
public MailMessage FetchMessage(int sequenceNumber, bool ignoreAttachment)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of message |
ignoreAttachment | Boolean | A value that defines whether the attachments should not be loaded. If it is set to true , then only message headers, message body and attachment information are fetched. Attachment content is not loaded |
Return Value
MailMessage
that represents e-mail message
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessage(IConnection, string)
Fetches the message
public MailMessage FetchMessage(IConnection connection, string uniqueId)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique id of message |
Return Value
MailMessage
that represents e-mail message
See Also
- class MailMessage
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
FetchMessage(string)
Fetches the message
public MailMessage FetchMessage(string uniqueId)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique id of message |
Return Value
MailMessage
that represents e-mail message
See Also
- class MailMessage
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email