EwsUploadMessage Method (FolderId, Byte, Boolean) |
Uploads raw message data into the specified folder on the MS Exchange server.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool UploadMessage(
FolderId id,
byte[] bytes,
bool isDraft
)
Public Function UploadMessage (
id As FolderId,
bytes As Byte(),
isDraft As Boolean
) As Boolean
Parameters
- id
- Type: FolderId
The ID of the folder where to upload the message. Null reference (Nothing in Visual Basic) not allowed. - bytes
- Type: SystemByte
The raw bytes of the mail message to be uploaded. Null reference not allowed. - isDraft
- Type: SystemBoolean
If true, the message will be uploaded as draft; otherwise, as normal message.
Return Value
Type:
Booleantrue if succeeded; otherwise,
false.
Exceptions Remarks See Also