CData Python Connector for Office 365 2019 - Online Help
Questions / Feedback?

DownloadAttachments

CData Python Connector for Office 365 2019 - Build 19.0.7416

Download the attachments of an email

Input

Name Type Required Description
MessageId String True Id of the email from which you want to get the attachments.
AttachmentId String False Id of the attachment you want to download. Returns all the attachments of the email if not specified.
DownloadTo String False Where to store the attachments. If not specified, it returns the content bytes of the attachment.

Result Set Columns

Name Type Description
Id String Id of the downloaded attachment.
Name String Name of the downloaded attachment.
ContentBytes String Content of the attachment.
LastmodifiedDatetime String Last modified date of the attachment.
ContentType String Content type of the attachment. If DownloadTo is specified this field will be null.

 
 
Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 19.0.7416.0