Skip to main content

Send Email

Send a secure email via Mimecast.

External Documentation

To learn more, visit the Mimecast documentation.

Parameters

ParameterDescription
BCCList of recipient's email addresses as BCC, each represented by a json object.Format:
  [    {      "emailAddress": "example@mail.com",      "displayableName": "example_name"    },    {      "emailAddress": "example2@mail.com",      "displayableName": "example2_name"    }  ]
Note: The displayableName attribute isn't required.
CCList of recipient's email addresses as CC, each represented by a json object.Format:
  [    {      "emailAddress": "example@mail.com",      "displayableName": "example_name"    },    {      "emailAddress": "example2@mail.com",      "displayableName": "example2_name"    }  ]
Note: The displayableName attribute isn't required.
Email SubjectSpecify the email subject.
Extra HeadersList of email headers to add, each represented by a json object.Format:
[  {    "name": "header_name",    "value": "header_value"  }]
FromSpecify the email address to send the email from.
HTML contentThe HTML content of the email.
Plain text contentThe plain text content of the email.
Recipients ListList of recipient's email addresses, each represented by a json object.Format:
  [    {      "emailAddress": "example@mail.com",      "displayableName": "example_name"    },    {      "emailAddress": "example2@mail.com",      "displayableName": "example2_name"    }  ]
Note: The 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 and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop