ADO.NET Provider for Microsoft Office 365

Build 24.0.9060

AddAttachments

Add attachment(s) to a message.

Input

Name Type Required Accepts Input Streams Description
Id String False False The Id of the message to add the attachment to.
DestinationType String False False The destination object type where the attachment is being added. Allowed values are: Message or Event.
FileName String False False Name of the email attachment.
LocalFile String False False The file containing the content of the attachment
ContentBytes String False False Content of the attachment encoded to Base64.
Content String False True The content, provided as an InputStream, that is uploaded when LocalFile or ContentBytes is not specified.

Result Set Columns

Name Type Description
ContentBytes String Added Successfully - if the attachment content was added to the message/event.
Id String Id of the attachment that was added.
LastModifiedDateTime Datetime Last modified date time of attachment that was added.
Isinline Boolean Whether the attachment that was added is inline.
Name String Name of the attachment that was added.
Contenttype String Content-type of the attachment that was added.
Size Int Size of the attachment that was added.

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