> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/email.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Email

Send multifactor authentication codes by email in Devolutions Server: prerequisites, plain-text option, user setup and sign-in with the emailed code.

The ***Email*** multifactor authentication (MFA) method of Devolutions Server sends a 6-digit validation code to the user's email address at each sign-in. Devolutions Server sends the codes with its own email settings.

## Prerequisites

* The email settings of Devolutions Server are configured and enabled: see [Email and notifications](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/general/email.md). Without them, the ***Email*** check box of ***Supported MFA*** is disabled, with "Email needs to be configured to enable email MFA." and a ***Take action*** link that opens the email settings. When ***Email*** is enabled and email is later turned off, the ***Multi-factor*** page shows "Email needs to be configured in order to send MFA emails."

## Enable the method

1. Go to ***Administration*** – ***Server settings*** – ***Multi-factor***.
2. In ***Supported MFA***, check ***Email***.
3. Optional: click ***Configure*** next to ***Email*** to open ***Email configuration***, set the option below, then click ***Save***.
4. Click ***Save*** on the ***Multi-factor*** page.

<table><thead><tr><th width="260">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Send email in plain text</strong></td><td>Sends the validation code email as plain text instead of HTML. Cleared by default.</td></tr></tbody></table>

Changing these settings requires the ***Server settings*** – ***MFA*** – ***Edit*** administrative permission.

## Set up email (user)

The setup opens at sign-in when MFA is required, or from the ***Multi-factor*** section of your preferences.

1. Under ***Setup***, check the ***Email address***. When your account already has an email address, the field shows it, cannot be changed, and the code is sent right away. Otherwise, type an address ("Please enter valid email addresses." when it is not valid) and click ***Send***.
2. "Next, submit the code given in the email.": type the code in ***Validation code***, then click ***Submit***. Click ***Resend*** to get a new code.

## Sign in with email

Devolutions Server sends the code when the sign-in page opens the method: "Your validation code has been sent to {0}" (the address is partly masked). Type the code in ***Validation code*** ("Please enter a validation code"), then click ***Submit***. Click ***Resend code*** to send a new code.

* A code stays valid for several minutes (up to about 10).
* An empty field shows "The validation Code is required."; a wrong or expired code shows an error.
* "Error sending email" or "Error sending validation code" means Devolutions Server could not send the email: check the email settings and the email logs.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/email.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
