message_from Property
The author of a message.
Syntax
def get_message_from() -> str: ... def set_message_from(value: str) -> None: ...
message_from = property(get_message_from, set_message_from)
Default Value
""
Remarks
This property contains the author of a message. This property is optional. If it is left blank, the message's author will be the Microsoft account used in authorization.
This property is applied to a message created with create_draft or messages sent with send_mail.
Example (Specify Message Author)
office365.MessageFrom = "stephen@company.com"; office365.SendMail(True);
Example (Specify Message Author - Name Included)
office365.MessageFrom = "\"Stephen Withavee\" stephen@company.com"; office365.SendMail(True);