Class UpdateDraftToRecipientsAction
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
AktualisierenEntwurfAnEmpfängerAktion
Aktualisiert die Empfänger eines E-Mail-Entwurfs.
Detaillierte Dokumentation
addUpdateToRecipients(toRecipientEmails)
Aktualisiert die Empfänger eines E-Mail-Entwurfs.
Parameter
Name | Typ | Beschreibung |
toRecipientEmails | String[] | Die Empfänger, die in den E-Mail-Entwurf eingefügt werden sollen. |
Rückflug
UpdateDraftToRecipientsAction
– dieses Objekt, zur Verkettung
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-26 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-26 (UTC)."],[[["\u003cp\u003eThis action updates the "To" recipients of an email draft.\u003c/p\u003e\n"],["\u003cp\u003eIt provides a method, \u003ccode\u003eaddUpdateToRecipients\u003c/code\u003e, which takes an array of email addresses as input for the new recipients.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eaddUpdateToRecipients\u003c/code\u003e will replace the existing "To" recipients with the provided list.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns an \u003ccode\u003eUpdateDraftToRecipientsAction\u003c/code\u003e object, allowing for chained operations.\u003c/p\u003e\n"]]],["The `UpdateDraftToRecipientsAction` class modifies the \"To\" recipients of an email draft. The key method, `addUpdateToRecipients(toRecipientEmails)`, takes an array of email addresses (`String[]`) as input. This method inserts the provided email addresses into the draft's \"To\" field. The method returns an instance of `UpdateDraftToRecipientsAction`, allowing for method chaining. This action allows updating draft recipients.\n"],null,["# Class UpdateDraftToRecipientsAction\n\nUpdateDraftToRecipientsAction\n\nUpdates the To recipients of an email draft. \n\n### Methods\n\n| Method | Return type | Brief description |\n|----------------------------------------------------------------------------|------------------------------------|----------------------------------------------|\n| [addUpdateToRecipients(toRecipientEmails)](#addUpdateToRecipients(String)) | [UpdateDraftToRecipientsAction](#) | Updates the To recipients of an email draft. |\n\nDetailed documentation\n----------------------\n\n### `add``Update``To``Recipients(toRecipientEmails)`\n\nUpdates the To recipients of an email draft.\n\n#### Parameters\n\n| Name | Type | Description |\n|-------------------------|------------|-------------------------------------------------|\n| `to``Recipient``Emails` | `String[]` | The To recipients to insert to the email draft. |\n\n#### Return\n\n\n[UpdateDraftToRecipientsAction](#) --- This object, for chaining."]]