IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

append_to_mailbox Method

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

Syntax

def append_to_mailbox() -> None: ...

Remarks

This method appends the RFC822-encoded message in message_text to the mailbox specified by mailbox. If the message_flags 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) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Python Edition - Version 20.0 [Build 8249]