Uploads the message to the specified folder and sets its flags.
public string UploadMessage(
string folder,
string from,
string to,
string subject,
string body
)
Public Function UploadMessage( _
ByVal folder As String, _
ByVal from As String, _
ByVal to As String, _
ByVal subject As String, _
ByVal body As String _
) As String
public:
String UploadMessage(
String^ folder,
String^ from,
String^ to,
String^ subject,
String^ body
);
Parameters
- folder
- Folder that will receive the message.
- from
- Message sender.
- to
- Comma-separated list of message recipients.
- subject
- The subject of the message.
- body
- The text body of the message.
Return Value
Unique ID of the message, or null (Nothing in Visual Basic) if the server does not support the UIDPLUS extension.
Remarks
This method represents IMAP APPEND command.
Unique ID of the message will be returned if the server supports the ImapFeatures.UniqueIdPlus extension
and it is enabled. See SupportedFeatures and EnabledFeatures.