Operation: SendMail
The SendMail operation sends an email.
Input
The adapter expects the following XML structure as input:
Example
<?xml version="1.0" encoding="UTF-8"?>
<SendMail>
<Subject></Subject>
<Message type="text|html"></Message>
<ToRecipients>
<Recipient></Recipient>
<Recipient></Recipient>
</ToRecipients>
<!-- ###Optional### -->
<CcRecipients>
<Recipient></Recipient>
<Recipient></Recipient>
</CcRecipients>
<!-- ###Optional### -->
<BccRecipients>
<Recipient></Recipient>
<Recipient></Recipient>
</BccRecipients>
<!-- ###Optional### -->
<Importance>high|normal|low</Importance>
<!-- ###Optional### -->
<Attachments>
<Attachment>
<FileName></FileName>
<FileData></FileData>
</Attachment>
</Attachments>
</SendMail>
The following elements can be included in the input:
| Element | Description |
|---|---|
SendMail | Enclosing element for the operation SendMail |
Subject | Subject of the email Possible values:
|
Message | The type of the message is defined via the Possible values:
Note: The input for Examples:
XML
XML
|
ToRecipients | Recipient of the email. Contains one or more Recipient elements. |
Recipient | Email address of the recipient. Possible values:
Example:
|
CcRecipients | (optional) Recipient of the email in copy (Cc). The |
BccRecipients | (optional) Recipient of the email in blind copy (Bcc). The |
Importance | (optional) Importance level of the email Possible values:
|
Attachments | (optional) The |
Attachment | (optional) The |
FileName | (optional) File name of the attachment |
FileData | (optional) Content of the attachment in Base64 format |
Output
The adapter sends an email according to the data specified in the input.