Cmdlets for Gmail

Build 25.0.9434

UpdateImap

Updates IMAP settings.

ストアドプロシージャ固有の情報

以下のOAuth スコープが必要です。

  • https://www.googleapis.com/auth/gmail.settings.basic

クエリの例:

EXECUTE UpdateImap @enabled='false', @AutoExpunge='false', @expungeBehavior='archive', @maxFolderSize='0'

Input

Name Type Required Description
Enabled Bool True Whether IMAP is enabled for the account.
AutoExpunge Bool False If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted.
ExpungeBehavior String False The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.
MaxFolderSize Integer False An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit.

Result Set Columns

Name Type Description
Success String Whether the operation was successful or not.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434