CData Python Connector for Gmail

Build 24.0.9060

GetPart

Gets the message part specified by LocalFile or PartId from the message specified by Id on the Gmail server.

Input

Name Type Required Description
Id String True The Id of the message that contains the message part.

The default value is 1.

LocalFile String True The local file where the content of the message part will be written to.
Mailbox String True The mailbox where the message is currently located.

The default value is Inbox.

PartFileName String False The part file name of the part to retrieve. Either the PartId or the PartFileName input must be specified.
PartId String False The part Id of the part to retrieve. Either the PartId or the PartFileName input must be specified.
UIDMode String False If true, permanent message Ids are used instead of the default temporary Ids.
Overwrite String False If true, the file specified in LocalFile input will be overwritten.

Result Set Columns

Name Type Description
ContentType String The content type.
Size String The size of the message part.
FileName String The file name of the message part.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060