Cloud Mail 2020 Python Edition

Questions / Feedback?

on_message_list Event

Fired when a message is retrieved from the server.

Syntax

class Office365MessageListEventParams(object):
  @property
  def id() -> str: ...
  @property
  def subject() -> str: ...
  @property
  def message_sender() -> str: ...
  @property
  def received_date_time() -> str: ...
  @property
  def sent_date_time() -> str: ...
  @property
  def has_attachments() -> bool: ...
  @property
  def body_content_type() -> str: ...
  @property
  def body_content() -> str: ...
  @property
  def body_preview() -> str: ...

# In class Office365:
@property
def on_message_list() -> Callable[[Office365MessageListEventParams], None]: ...
@on_message_list.setter
def on_message_list(event_hook: Callable[[Office365MessageListEventParams], None]) -> None: ...

Remarks

The on_message_list event is fired for each folder retrieved from the server when list_messages is called.

 
 
Copyright (c) 2021 /n software inc. - All rights reserved.
Cloud Mail 2020 Python Edition - Version 20.0 [Build 7718]