Cloud Mail 2020 Python Edition

Questions / Feedback?

forward Method

Forward a message.

Syntax

def forward(id: str, message_html: str, to_recipients: str) -> None: ...

Remarks

This method can be used to quickly forward a message specified by id to the recipients specified by toRecipients. The toRecipients parameter accepts a comma separated list of emails to forward the message to. The messageHTML parameter is the message body to include with the forward. If messageHTML is an empty string, then the following properties are used:

PropertyDefault if not set
message_bccBlank
message_body_contentBlank
message_body_content_typeHTML
message_ccBlank
message_delivery_receiptFalse
message_fromCurrently authenticated mailbox
message_importanceBlank
message_read_receiptFalse
message_subjectFW:" + original subject

Example (Simple):


        office365.Forward(messageId, "This is an email I am forwarding.", "someguy@gmail.com, notreal@nsoftware.com");

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.Forward(messageId, "", "example@email.com, exampletwo@email.com");
This method forwards a message specified by id. toRecipients accepts a comma separated list of emails to forward the message to.

Example (Forwarding a Message to Two Addresses)


office365.Forward(messageId, "This is an email I am forwarding.", "someguy@gmail.com, notreal@nsoftware.com");

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