PopSettings
Stay organized with collections
Save and categorize content based on your preferences.
POP settings for an account.
Fields |
accessWindow |
enum (AccessWindow )
The range of messages which are accessible via POP.
|
disposition |
enum (Disposition )
The action that will be executed on a message after it has been fetched via POP.
|
AccessWindow
A range of messages that are accessible via POP.
Enums |
accessWindowUnspecified |
Unspecified range. |
disabled |
Indicates that no messages are accessible via POP. |
fromNowOn |
Indicates that unfetched messages received after some past point in time are accessible via POP. |
allMail |
Indicates that all unfetched messages are accessible via POP. |
Disposition
Specifies what Gmail should do with a message after it has been fetched via POP.
Enums |
dispositionUnspecified |
Unspecified disposition. |
leaveInInbox |
Leave the message in the INBOX . |
archive |
Archive the message. |
trash |
Move the message to the TRASH . |
markRead |
Leave the message in the INBOX and mark it as read. |
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 2025-03-24 UTC.
[null,null,["Last updated 2025-03-24 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. |"]]