Cloud Mail 2020 Python Edition

Questions / Feedback?

message_from Property

The author of a message.


def get_message_from() -> str: ...
def set_message_from(value: str) -> None: ...

message_from = property(get_message_from, set_message_from)

Default Value



This property contains the author of a message. This property is optional. If it left blank, the message's author will be the Google account used in authorization.

This property is applied to a message created with create_draft or messages sent with send_mail.

Example (Define who a Message is From)

gmail.MessageFrom = "";

Example (Define who a Message is From with a Name and Address)

gmail.MessageFrom = "Stephen Withavee < >";

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