Send Email
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Send Email
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
This is generated from the built in components of Otter 3.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.
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:
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.>> );
Was this article helpful?