IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

AppendToMailbox Method

Appends the message in MessageText to the mailbox specified by Mailbox .

Syntax

[VB.NET]
Public Sub AppendToMailbox()
[C#]
public void AppendToMailbox();

Remarks

This method appends the RFC822-encoded message in MessageText to the mailbox specified by Mailbox. If the MessageFlags property is not an empty string, it's contents are supplied with the 'APPEND' command sent to the server.

Example (Append Message to Mailbox)


IMAPControl.MessageText = MessageHeaders + CRLF + CRLF + MessageBody + CRLF
IMAPControl.Mailbox = "INBOX"
IMAPControl.MessageFlags = "\Deleted"
IMAPControl.AppendToMailbox()

NOTE: This method has a corresponding asynchronous version (AppendToMailboxAsync) for use in the Xamarin environment.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0