EwsSendMessageAndSaveCopy Method
Sends MailBee mail message and saves a copy in Sent Items or user-defined folder.

Namespace: MailBee.EwsMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public bool SendMessageAndSaveCopy(
	MailMessage msg,
	FolderId sentMessagesFolderId
)

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: Boolean
true if succeeded; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also