Otter Documentation

email - Send Email

  • Last Modified: 2018-09-21

This is generated from the built-in components of Otter 2.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] > Documentation within your Otter instance to see exactly what operations are available.

Send Email

Sends an email message.

Operation type:

Executing - this operation will perform a specified action or actions on a remote server.

Script usage:

InedoCore::Send-Email(
	To: <@(text)>,
	[Subject: <text>],
	[Text: <text>],
	[Html: <text>],
	[Attachments: <@(text)>],
	[AttachmentDirectory: <text>],
	[CC: <@(text)>],
	[Bcc: <@(text)>]
);

Arguments:

Name Format Script Usage Usage Notes
To address(es)
@(text)
To
A single email address may be used, or a list variable containing multiple email addresses. This argument is required.
Subject
text
Subject
Plain-text body
text
Text
HTML body
text
Html
Attachments
@(text)
Attachments
From directory
text
AttachmentDirectory
CC address(es)
@(text)
CC
A single email address may be used, or a list variable containing multiple email addresses.
BCC address(es)
@(text)
Bcc
A single email address may be used, or a list variable containing multiple email addresses.

Note: If the Html property is specified, then the Text property will be ignored.

Example:

Send-Email (
    To: @(someone@example.org, someone-else@example.org),
    Subject: Howdy!,
    Text: >>Hello there!

This email was sent from BuildMaster on $Date.>>
);

Have a question? Try the Q&A Forum

Our documentation is now Open Source and on GitHub. We highly encourage our users to contribute and get involved! .