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: 12.4 build 677 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.
NotImplementedExceptionThe .NET runtime is .NET Core.
Remarks
Note Note
This method is not implemented in .NET Core. Use SendMessageAndSaveCopyAsync(MailMessage, FolderId) instead.
See Also