Zarządzanie ustawieniami urlopu
W sekcji Ustawienia możesz skonfigurować zaplanowaną odpowiedź automatyczną na koncie.
Informacje o tym, jak uzyskać lub zaktualizować, znajdziesz w dokumentacji Ustawień.
Konfigurowanie odpowiedzi automatycznych
Automatyczna odpowiedź wymaga tematu i tekstu odpowiedzi w formacie HTML lub zwykłym tekście. Możesz go włączyć na stałe lub ograniczyć do określonego czasu. Możesz też ograniczyć automatyczne odpowiedzi do znanych kontaktów lub członków domeny.
Przykład ustawienia odpowiedzi automatycznej na określony czas i ograniczenie odpowiedzi do użytkowników z tej samej domeny:
Aby wyłączyć odpowiedź automatyczną, zaktualizuj zasób i ustaw wartość enableAutoReply
na false
. Jeśli masz skonfigurowaną odpowiedź automatyczną endTime
, po upływie określonego czasu zostanie ona automatycznie wyłączona.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-01-15 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-15 UTC."],[[["Configure scheduled auto-replies for a Gmail account using the Gmail API's Settings resource."],["Auto-replies require a subject and body, can be time-limited, and restricted to specific contacts or domains."],["Provided code samples (Java and Python) demonstrate enabling auto-reply for a fixed duration and within a domain."],["Disable auto-reply by setting `enableAutoReply` to `false` or letting the `endTime` automatically deactivate it."]]],["The content explains how to configure and manage Gmail's auto-reply feature using the Settings API. Key actions include: enabling auto-reply with a subject and body, setting a duration (start/end time), and restricting it to domain members or contacts. Auto-reply can be enabled indefinitely or for a set period. Code examples demonstrate enabling auto-reply for a week, restricting it to domain members. Disabling the feature requires setting `enableAutoReply` to `false`, or it will auto-disable after the `endTime`.\n"]]