Cloud Mail 2020 Python Edition

Questions / Feedback?

on_attachment_list Event

Fired when an attachment is retrieved from the server.

Syntax

class Office365AttachmentListEventParams(object):
  @property
  def id() -> str: ...
  @property
  def name() -> str: ...
  @property
  def content_type() -> str: ...
  @property
  def content_location() -> str: ...
  @property
  def content_bytes() -> bytes: ...
  @property
  def content_id() -> str: ...
  @property
  def last_modified_date_time() -> str: ...
  @property
  def is_inline() -> bool: ...
  @property
  def size() -> int: ...

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

Remarks

The on_attachment_list event is fired for each attachment retrieved from the server when list_attachments is called.

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