message_to Property
A comma separated list of recipients for a message.
Syntax
def get_message_to() -> str: ... def set_message_to(value: str) -> None: ...
message_to = property(get_message_to, set_message_to)
Default Value
""
Remarks
This property contains a comma separated list of destinations for a mail message. These recipients are added to a message created with create_draft or messages sent with send_mail.
Example (Add a Recipient)
gmail.MessageTo =
"bbobbertson@bobmail.com"
;
gmail.SendMail();
Example (Add a Recipient with a Name and Address)
gmail.MessageTo =
"Brandrew Bobbertson < bbobbertson@bobmail.com >"
;
gmail.SendMail();