CreateAttachments
Create and add a attachment to an existing email.
Stored Procedure Specific Information
Use CreateAttachments procedure to add an attachment to an existing email. To specify file paths of the attachments use Attachments input, whereas for base 64 encoded content specify AttachmentContent and AttachmentName.
EXECUTE CreateAttachments ItemId = 'AQMkAGRlMWQ5MDg0LWI5ZTQtNDk2Yi1hOTQ1LTU4YzFmMzEwZjlhMgBGAAAD/FjxR3cIwE6TEGSCVtIHcwcAQyR2Iw3coEOaUD1BLt0tnAAAAxEAAABDJHYjDdygQ5pQPUEu3S2cAAVZoayvAAAA', Attachments = 'C:\Users\User\Desktop\logfile.txt,C:\Users\User\Desktop\TestConnectionLog.txt'
Input
Name | Type | Required | Description |
ItemId | String | True | The id of the email item to add the attachment to. |
Attachments | String | False | The attachment to be added. |
AttachmentContent | String | False | The attachment content base 64 encoded. |
AttachmentName | String | False | The name of the file that will be created out of the attachment content. |
Result Set Columns
Name | Type | Description |
AttachmentIds | String | The id of the attachment created |