การจัดการการตั้งค่าวันหยุด
คุณสามารถใช้การตั้งค่าเพื่อกำหนดค่าการตอบกลับอัตโนมัติที่กำหนดเวลาไว้สำหรับบัญชี
ดูข้อมูลเกี่ยวกับวิธีรับหรืออัปเดตได้ที่ข้อมูลอ้างอิงการตั้งค่า
การกำหนดค่าการตอบกลับอัตโนมัติ
การตอบกลับอัตโนมัติต้องมีเรื่องและเนื้อหาของคำตอบ ซึ่งอาจเป็น HTML หรือข้อความธรรมดา ซึ่งสามารถเปิดใช้ได้แบบไม่มีกำหนด หรือจำกัดไว้เป็นระยะเวลาหนึ่งๆ นอกจากนี้ คุณยังจำกัดการตอบกลับอัตโนมัติไปยังรายชื่อติดต่อหรือสมาชิกโดเมนที่รู้จักได้ด้วย
ตัวอย่างการตั้งค่าการตอบกลับอัตโนมัติเป็นระยะเวลาหนึ่งๆ ซึ่งจำกัดการตอบกลับไว้สำหรับผู้ใช้ในโดเมนเดียวกัน
หากต้องการปิดใช้การตอบกลับอัตโนมัติ ให้อัปเดตทรัพยากรและตั้งค่า enableAutoReply
เป็น
false
หากมีการกำหนดค่า endTime
ระบบจะปิดใช้การตอบกลับอัตโนมัติโดยอัตโนมัติเมื่อพ้นเวลาที่ระบุ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-15 UTC
[null,null,["อัปเดตล่าสุด 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"]]