Send Email
Send a secure email via Mimecast.
External Documentation
To learn more, visit the Mimecast V2 documentation.
Parameters
Parameter | Description |
---|---|
BCC | List of recipient's email addresses as BCC, each represented by a json object.Format:
displayableName attribute isn't required. |
CC | List of recipient's email addresses as CC, each represented by a json object.Format:
displayableName attribute isn't required. |
Email Subject | Specify the email subject. |
Extra Headers | List of email headers to add, each represented by a json object.Format:
|
From | Specify the email address to send the email from. |
HTML content | The HTML content of the email. |
Plain text content | The plain text content of the email. |
Recipients List | List of recipient's email addresses, each represented by a json object.Format:
displayableName attribute isn't required. |
Example Output
{
"data": [
{
"invalidRecipients": [
"invalid1@example.com",
"invalid2@example.com"
],
"messageDateHeader": "Mon, 21 Oct 2024 12:34:56 +0000",
"messageId": "12345abcde@example.com"
}
],
"fail": [
{
"errors": [
{
"code": "550",
"message": "Recipient address rejected: User unknown",
"retryable": true
}
],
"key": {
"attachments": [
"file1.pdf",
"image1.png"
],
"bcc": [
"bcc1@example.com",
"bcc2@example.com"
],
"cc": [
"cc1@example.com",
"cc2@example.com"
],
"extraHeaders": [
"X-Custom-Header: value"
],
"from": {
"name": "John Doe",
"email": "johndoe@example.com"
},
"htmlBody": "<html><body>Hello</body></html>",
"inReplyTo": "54321abcde@example.com",
"plainBody": "Hello",
"subject": "Test Email",
"to": [
"recipient1@example.com",
"recipient2@example.com"
]
}
}
]
}
Workflow Library Example
Send Email with Mimecast V2 and Send Results Via Email
Preview this Workflow on desktop