ImapUploadMessageAsync Method (MailMessage, String, SystemMessageFlags)

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public Task<bool> UploadMessageAsync(
	MailMessage msg,
	string folderName,
	SystemMessageFlags systemFlags
)

Parameters

msg
Type: MailBee.MimeMailMessage
A reference to the MailMessage object representing the message to be uploaded.
folderName
Type: SystemString
The full name of the folder to upload the message to.
systemFlags
Type: MailBee.ImapMailSystemMessageFlags
A set of flags to be assigned to the message.

Return Value

Type: TaskBoolean
A task that represents the asynchronous operation. The value of TResult parameter is true if the method succeeds; otherwise, false.
Exceptions
ExceptionCondition
MailBeeExceptionAn error occurred and ThrowExceptions is true.
See Also