Class UpdateDraftToRecipientsAction
UpdateDraftToRecipientsAction
Updates the To recipients of an email draft.
Detailed documentation
addUpdateToRecipients(toRecipientEmails)
Updates the To recipients of an email draft.
Parameters
Name | Type | Description |
toRecipientEmails | String[] | The To recipients to insert to the email draft. |
Return
UpdateDraftToRecipientsAction
— This object, for chaining.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-15 UTC.
[null,null,["Last updated 2020-10-15 UTC."],[[["This action updates the \"To\" recipients of an email draft."],["It provides a method, `addUpdateToRecipients`, which takes an array of email addresses as input for the new recipients."],["Using `addUpdateToRecipients` will replace the existing \"To\" recipients with the provided list."],["The method returns an `UpdateDraftToRecipientsAction` object, allowing for chained operations."]]],[]]