IEWSClient.AppendMessage
Contents
[
Hide
]AppendMessage(MapiMessage)
Uploads the mail message to the specified folder
public string AppendMessage(MapiMessage mapiMessage)
| Parameter | Type | Description |
|---|---|---|
| mapiMessage | MapiMessage | A message to upload |
Return Value
An uri of created message
See Also
- class MapiMessage
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
AppendMessage(MapiMessage, bool)
Uploads the mail message to the specified folder
public string AppendMessage(MapiMessage mapiMessage, bool markAsSent)
| Parameter | Type | Description |
|---|---|---|
| mapiMessage | MapiMessage | A message to upload |
| markAsSent | Boolean | A value indicating whether the message should be appended as a sent message or a draft. |
Return Value
An uri of created message
See Also
- class MapiMessage
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
AppendMessage(string, MapiMessage, bool)
Uploads the mail message to the specified folder
public string AppendMessage(string folderUri, MapiMessage mapiMessage, bool markAsSent)
| Parameter | Type | Description |
|---|---|---|
| folderUri | String | A folder URI to which message is uploaded. |
| mapiMessage | MapiMessage | A message to upload |
| markAsSent | Boolean | A value indicating whether the message should be appended as a sent message or a draft. |
Return Value
An uri of created message
Exceptions
| exception | condition |
|---|---|
| AsposeArgumentException | A folder is not specified |
| AsposeArgumentNullException | mapiMessage is null |
See Also
- class MapiMessage
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
AppendMessage(MailMessage)
Uploads the mail message to the Inbox folder
public string AppendMessage(MailMessage message)
| Parameter | Type | Description |
|---|---|---|
| message | MailMessage | A message to upload |
Return Value
An uri of created message
See Also
- class MailMessage
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email
AppendMessage(string, MailMessage)
Uploads the mail message to the specified folder
public string AppendMessage(string folderUri, MailMessage message)
| Parameter | Type | Description |
|---|---|---|
| folderUri | String | A folder URI to which message is uploaded. |
| message | MailMessage | A message to upload |
Return Value
An uri of created message
See Also
- class MailMessage
- interface IEWSClient
- namespace Aspose.Email.Clients.Exchange.WebService
- assembly Aspose.Email