IPWorks S/MIME 2020 Kotlin Edition

Questions / Feedback?

AppendToMailbox Method

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

Syntax

public fun 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()

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks S/MIME 2020 Kotlin Edition - Version 20.0 [Build 7941]