ExchangeClient.AppendMessage
Contents
[
Hide
]AppendMessage(string, MailMessage)
Uploads the mail message to the specified folder
public string AppendMessage(string folder, MailMessage message)
Parameter | Type | Description |
---|---|---|
folder | String | A folder to which message is uploaded |
message | MailMessage | A message to upload |
Return Value
An uri of created message
Exceptions
exception | condition |
---|---|
AsposeArgumentException | A folder is not specified |
AsposeArgumentNullException | message is null |
See Also
- class MailMessage
- class ExchangeClient
- namespace Aspose.Email.Clients.Exchange.Dav
- assembly Aspose.Email
AppendMessage(string, MailMessage, bool)
Uploads the mail message to the specified folder
public string AppendMessage(string folder, MailMessage message, bool markAsSent)
Parameter | Type | Description |
---|---|---|
folder | String | An uri of folder to which message is uploaded |
message | MailMessage | 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 | message is null |
See Also
- class MailMessage
- class ExchangeClient
- namespace Aspose.Email.Clients.Exchange.Dav
- assembly Aspose.Email