| ImapUploadMessageAsync Method (MailMessage, String, SystemMessageFlags) | 
 
Namespace: MailBee.ImapMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
 Syntax
Syntaxpublic Task<bool> UploadMessageAsync(
	MailMessage msg,
	string folderName,
	SystemMessageFlags systemFlags
)
Public Function UploadMessageAsync ( 
	msg As MailMessage,
	folderName As String,
	systemFlags As SystemMessageFlags
) As Task(Of Boolean)
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: 
TaskBooleanA task that represents the asynchronous operation. The value of 
TResult parameter is 
true if the method succeeds; otherwise, 
false.
 Exceptions
Exceptions See Also
See Also