Skip to main content
Send a secure email via Mimecast. Required application permissions: Account | Dashboard | Read.
External DocumentationTo learn more, visit the Mimecast documentation.

Parameters

ParameterDescription
BCCList of recipient’s email addresses as BCC, each represented by a json object.
Format:
[
{
“emailAddress”: “[email protected]”,
“displayableName”: “example_name”
},
{
“emailAddress”: “[email protected]”,
“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”: “[email protected]”,
“displayableName”: “example_name”
},
{
“emailAddress”: “[email protected]”,
“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”: “[email protected]”,
“displayableName”: “example_name”
},
{
“emailAddress”: “[email protected]”,
“displayableName”: “example2_name”
}
]

Note: The displayableName attribute isn’t required.

Example Output

{
	"data": [
		{
			"invalidRecipients": [
				"[email protected]",
				"[email protected]"
			],
			"messageDateHeader": "Mon, 21 Oct 2024 12:34:56 +0000",
			"messageId": "[email protected]"
		}
	],
	"fail": [
		{
			"errors": [
				{
					"code": "550",
					"message": "Recipient address rejected: User unknown",
					"retryable": true
				}
			],
			"key": {
				"attachments": [
					"file1.pdf",
					"image1.png"
				],
				"bcc": [
					"[email protected]",
					"[email protected]"
				],
				"cc": [
					"[email protected]",
					"[email protected]"
				],
				"extraHeaders": [
					"X-Custom-Header: value"
				],
				"from": {
					"name": "John Doe",
					"email": "[email protected]"
				},
				"htmlBody": "<html><body>Hello</body></html>",
				"inReplyTo": "[email protected]",
				"plainBody": "Hello",
				"subject": "Test Email",
				"to": [
					"[email protected]",
					"[email protected]"
				]
			}
		}
	]
}

Workflow Library Example

Send Email with Mimecast and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop