PopSettings
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การตั้งค่า POP สำหรับบัญชี
ช่อง |
accessWindow |
enum (AccessWindow )
ช่วงของข้อความที่เข้าถึงได้ผ่าน POP
|
disposition |
enum (Disposition )
การดำเนินการที่จะดำเนินการกับข้อความหลังจากที่ดึงข้อมูลผ่าน POP แล้ว
|
AccessWindow
ข้อความต่างๆ ที่เข้าถึงได้ผ่าน POP
Enum |
accessWindowUnspecified |
ช่วงที่ไม่ได้ระบุ |
disabled |
บ่งบอกว่าไม่มีข้อความที่เข้าถึงได้ผ่าน POP |
fromNowOn |
บ่งบอกว่าข้อความที่ยังไม่ได้ดึงข้อมูลซึ่งได้รับหลังจากช่วงเวลาหนึ่งๆ ที่ผ่านมาจะเข้าถึงได้ผ่าน POP |
allMail |
บ่งบอกว่าข้อความทั้งหมดที่ยังไม่ได้ดึงข้อมูลจะเข้าถึงได้ผ่าน POP |
การควบคุม
ระบุสิ่งที่ Gmail ควรทำกับข้อความหลังจากดึงข้อมูลผ่าน POP แล้ว
Enum |
dispositionUnspecified |
ไม่ได้ระบุการกำจัด |
leaveInInbox |
ฝากข้อความใน INBOX |
archive |
เก็บข้อความ |
trash |
ย้ายข้อความไปยัง TRASH |
markRead |
ปล่อยข้อความไว้ใน INBOX แล้วทําเครื่องหมายว่าอ่านแล้ว |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# PopSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AccessWindow](#AccessWindow)\n- [Disposition](#Disposition)\n\nPOP settings for an account.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"accessWindow\": enum (/workspace/gmail/api/reference/rest/v1/PopSettings#AccessWindow), \"disposition\": enum (/workspace/gmail/api/reference/rest/v1/PopSettings#Disposition) } ``` |\n\n| Fields ||\n|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `accessWindow` | `enum (`[AccessWindow](/workspace/gmail/api/reference/rest/v1/PopSettings#AccessWindow)`)` The range of messages which are accessible via POP. |\n| `disposition` | `enum (`[Disposition](/workspace/gmail/api/reference/rest/v1/PopSettings#Disposition)`)` The action that will be executed on a message after it has been fetched via POP. |\n\nAccessWindow\n------------\n\nA range of messages that are accessible via POP.\n\n| Enums ||\n|---------------------------|--------------------------------------------------------------------------------------------------|\n| `accessWindowUnspecified` | Unspecified range. |\n| `disabled` | Indicates that no messages are accessible via POP. |\n| `fromNowOn` | Indicates that unfetched messages received after some past point in time are accessible via POP. |\n| `allMail` | Indicates that all unfetched messages are accessible via POP. |\n\nDisposition\n-----------\n\nSpecifies what Gmail should do with a message after it has been fetched via POP.\n\n| Enums ||\n|--------------------------|-------------------------------------------------------|\n| `dispositionUnspecified` | Unspecified disposition. |\n| `leaveInInbox` | Leave the message in the `INBOX`. |\n| `archive` | Archive the message. |\n| `trash` | Move the message to the `TRASH`. |\n| `markRead` | Leave the message in the `INBOX` and mark it as read. |"]]