ODBC Driver for Exchange

Build 20.0.7587

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 CData ODBC Driver for Exchange', Content = 'I am not being able to connect to Exchange', Attachments = 'C:\Users\User\Desktop\logfile.txt,C:\Users\User\Desktop\TestConnectionLog.txt', ToRecipients = 'support@cdata.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'.

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