# Send Email

Send an email via Exchange.

<table data-header-hidden><thead><tr><th width="197"></th><th width="347"></th></tr></thead><tbody><tr><td>Server</td><td>[Text] EWS Exchange Server. Default server: <code>https://&#x3C;mail-server>/ews/exchange.asmx</code></td></tr><tr><td>Domain</td><td>[Text] Domain for authentication on the server.</td></tr><tr><td>Username</td><td>[Text] Username for authentication on the server.</td></tr><tr><td>User Password</td><td>[Text/SecureString] User password for authentication on the server.</td></tr><tr><td>Version</td><td>Exchange version.</td></tr><tr><td>Recipient Email</td><td>[Text] Email address of the recipient to whom the email needs to be sent. To specify multiple recipients, separate them with a semicolon.</td></tr><tr><td>Email Subject</td><td>[Text] Subject of the email reflecting the main content of the message.</td></tr><tr><td>Email Body</td><td>[Text] Message that needs to be sent to the recipient.</td></tr><tr><td>HTML Markup</td><td>If checked, the content of the email will be sent as an HTML page and may contain tags.</td></tr><tr><td>Attachments</td><td>[Text/List/Dictionary] Path to the file / List of paths to files / Dictionary with files that will be attached to the email (key - name, value - path to the file).</td></tr><tr><td>CC</td><td>[Text] Email address of the recipient to receive a copy of the email. To specify multiple recipients, separate them with a semicolon.</td></tr><tr><td>BCC</td><td>[Text] Email address of the recipient to receive a blind copy of the email. To specify multiple recipients, separate them with a semicolon.</td></tr><tr><td>Send On Behalf Of</td><td>[Text] Specify the email from which to send the email.</td></tr><tr><td>Error Handling Level</td><td><p>Select the error handling level. Possible values:</p><ul><li>"Default" - default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td>Message Level</td><td><p>Select the message level that blocks will output during operation. Possible values:</p><ul><li>"Default" - default;</li><li>"Release" - output is disabled;</li><li>"Debug" - outputs main information;</li><li>"Detailed" - outputs detailed information.</li></ul><p>If "Default" is selected, the value from the "Start" block of this diagram will be used.</p></td></tr><tr><td>Error Message</td><td>[Text] Returns detailed information about the error in case of incorrect execution of the block's work.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sherparpa.ru/en/sherpa-rpa/sherpa-designer/spravochnik-blokov/exchange-exchange-automation/otpravit-pismo-sendexchangemailmessage.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
