---
title: "Send-Email"
---
Sends an email message.
InedoCore::Send-Email(
	To: <@(text)>,
	[Subject: <text>],
	[Text: <text>],
	[Html: <text>],
	[Attachments: <@(text)>],
	[AttachmentDirectory: <text>],
	[CC: <@(text)>],
	[Bcc: <@(text)>]
);
| 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.
Send-Email (
    To: @(someone@example.org, someone-else@example.org),
    Subject: Howdy!,
    Text: >>Hello there!
This email was sent from BuildMaster on $Date.>>
);