EwsSendMessageAndSaveCopy Method |
Sends MailBee mail message and saves a copy in Sent Items or user-defined folder.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public bool SendMessageAndSaveCopy(
MailMessage msg,
FolderId sentMessagesFolderId
)
Public Function SendMessageAndSaveCopy (
msg As MailMessage,
sentMessagesFolderId As FolderId
) As Boolean
Parameters
- msg
- Type: MailBee.MimeMailMessage
The MailBee mail message to send. Null reference (Nothing in Visual Basic) not allowed. - sentMessagesFolderId
- Type: FolderId
The ID of the folder where to save the copy, or a null reference to save into the folder assigned as Sent Items for the current account.
Return Value
Type:
Booleantrue if succeeded; otherwise,
false.
Exceptions Remarks See Also