reply Method
Reply to a message.
Syntax
def reply(id: str, message_html: str) -> None: ...
Remarks
This method can be used to quickly reply to a message specified by id. The messageHTML parameter is the message body to include with the reply. If messageHTML is an empty string, then the following properties are used:
Property | Default if not set |
message_bcc | Blank |
message_body_content | Blank |
message_body_content_type | HTML |
message_cc | Blank |
message_delivery_receipt | False |
message_from | Currently authenticated mailbox |
message_importance | Blank |
message_read_receipt | False |
message_subject | RE:" + original subject |
message_to | Original sender |
Example (Simple):
office365.ReplyAll(messageId, "Reply messageHTML");
Example (Advanced):
office365.MessageSubject = "Subject for the reply"; office365.MessageImportance = "Low"; office365.MessageCc = "Example@email.com"; office365.MessageBcc = "Example@email.com"; office365.MessageBodyContent = "Reply Message body"; office365.ReplyAll(messageId, "");