com.apama.cumulocity
Event SendEmail


Requests Cumulocity to send an email alert.

Example usage with one recipient, and no copied recipients:
 send SendEmail("Subject", "Text", "sender@example.com", ["recipient@example.com"], [], "", new dictionary<string, string>) to SendEmail.SEND_CHANNEL; 
Example usage with multiple recipients, a single copied recipient, and multiple blind copied recipients:
 send SendEmail("Subject", "Text", "sender@example.com", ["recipient@example.com", "recipient1@example.com"], ["cc@example.com"], "bcc@example.com,bcc1@example.com", new dictionary<string, string>) to SendEmail.SEND_CHANNEL; 

Constant summary
 stringCHANNEL := "CumulocityIoTGenericChain"

Channel to send these events to.
Deprecated:
[This channel constant has been deprecated. Use SEND_CHANNEL instead.]
 stringSEND_CHANNEL := "CumulocityIoTGenericChain"

Channel to send these events to.
 
Member summary
 stringsubject

The subject of the email.
 stringtext

The text of the email.
 stringreplyTo

The reply-to address for the email.
 sequence<string>receiver

The list of recipients of the email.
 sequence<string>cc

(Carbon copy) The recipients that are to receive a copy of the email.
 stringbcc

(Blind carbon copy) The recipients that are to receive a blind copy of the email. Multiple email addresses can be separated by commas. Recipients listed in the receiver and CC lists will not be able to see the BCC list.
 dictionary<stringstring>extraParams

Additional parameters.
 
Constant detail

CHANNEL

string CHANNEL := "CumulocityIoTGenericChain"
Deprecated:
[This channel constant has been deprecated. Use SEND_CHANNEL instead.]
Channel to send these events to.

SEND_CHANNEL

string SEND_CHANNEL := "CumulocityIoTGenericChain"
Channel to send these events to.
Since:
10.5.2.0

Member detail

bcc

string bcc
(Blind carbon copy) The recipients that are to receive a blind copy of the email. Multiple email addresses can be separated by commas. Recipients listed in the receiver and CC lists will not be able to see the BCC list.

cc

sequence<stringcc
(Carbon copy) The recipients that are to receive a copy of the email.

extraParams

dictionary<stringstringextraParams
Additional parameters.

receiver

sequence<stringreceiver
The list of recipients of the email.

replyTo

string replyTo
The reply-to address for the email.

subject

string subject
The subject of the email.

text

string text
The text of the email.