TDV Adapter for Microsoft Exchange

Build 22.0.8462

SendMail

Send a new email to the specified recipients.

Stored Procedure Specific Information

You can send a mail with attachments, specifying one or more file paths or the base 64 content of the attachment. To specify file paths use Attachments input, whereas for base 64 encoded content specify AttachmentContent and AttachmentName. Note that if the file location specified in the 'Attachments' input is a folder, than all the files of the first level in that folder will be sent as attachments.

EXECUTE SendMail Subject = 'Issue with Microsoft Exchange Adapter', Content = 'I am not being able to connect to Microsoft Exchange', Attachments = 'C:\Users\User\Desktop\logfile.txt,C:\Users\User\Desktop\TestConnectionLog.txt', ToRecipients = 'support@cdata.com'

You can include CC and BCC recipients and send the mail. To specify one or more recipients, separate them using ','.

EXECUTE SendMail Subject = 'Issue with Microsoft Exchange Adapter', Content = 'I am am not being able to connect to Microsoft Exchange', ToRecipients = 'support@cdata.com', CcRecipients = 'test1@mail.com, test2@mail.com, test3@mail.com', BccRecipients = 'test1@mail.com'

Input

Name Type Required Description
Subject String True The email subject.
Content String True Email body content.
Attachments String False The attachments. Specify the filepaths of the files you want to attach in the following format: 'filepath1,filepath2'.
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.
ToRecipients String True The recipients. Specify recipients in the following format: 'person1@example.com,person2@example.com'.
CcRecipients String False The Cc: recipients for the message. Specify recipients in the following format: 'person1@example.com,person2@example.com'.
BccRecipients String False The Bcc: recipients for the message. Specify recipients in the following format: 'person1@example.com,person2@example.com'.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462