Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Send-Email

Sends an email message.

Script usage:

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

Arguments:

NameFormatScript UsageUsage 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.>>
);