IPWorks S/MIME 2020 Python Edition

Questions / Feedback?

mailbox Property

Name of the mailbox selected on the server.

Syntax

def get_mailbox() -> str: ...
def set_mailbox(value: str) -> None: ...

mailbox = property(get_mailbox, set_mailbox)

Default Value

"Inbox"

Remarks

This method contains the name of the mailbox selected on the server, and is also used as argument to most methods. Please refer to the class methods for more information.

Example (Open a Mailbox in Read/Write Mode)


IMAPControl.Mailbox = "INBOX"
IMAPControl.SelectMailbox

Example (Open a Mailbox in Read-Only Mode)


IMAPControl.Mailbox = "INBOX.Folder"
IMAPControl.ExamineMailbox

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