IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

on_mailbox_list Event

Fired for each mailbox received through the ListMailboxes and ListSubscribedMailboxes methods.

Syntax

class PIMAPMailboxListEventParams(object):
  @property
  def mailbox() -> str: ...
  @property
  def separator() -> str: ...
  @property
  def flags() -> str: ...

# In class PIMAP:
@property
def on_mailbox_list() -> Callable[[PIMAPMailboxListEventParams], None]: ...
@on_mailbox_list.setter
def on_mailbox_list(event_hook: Callable[[PIMAPMailboxListEventParams], None]) -> None: ...

Remarks

This method is fired for each mailbox received through the list_mailboxes and list_subscribed_mailboxes methods. The Separator parameter contains the character that separates the different parts in the mailbox path hierarchy.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Python Edition - Version 20.0 [Build 8249]