> For the complete documentation index, see [llms.txt](https://docs.meta-inf.hu/email-this-issue/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meta-inf.hu/email-this-issue/administration/mail-server-connections.md).

# Mail Server Connections

## Basic authentication

Basic authentication (with username and password) is only supported for custom mail server connections. Connecting to Gmail or Microsoft accounts requires OAuth2 for security reasons.

Instructions for connecting to a custom mail server can be found in the [Custom Mail Server: Basic Authentication](/email-this-issue/administration/mail-server-connections/custom-mail-server-basic-authentication.md) article.

## OAuth2 credentials

OAuht2 credentials are required to connect to Microsoft as well as Gmail servers.

To manage the OAuth2 Credentials,  go to the **Administration** configuration tab and choose **OAuth2 Credentials** under the **OAUTH2** menu item.

<figure><img src="/files/DVbOM9kEqZryBNjQBKUH" alt=""><figcaption><p>OAuth2 Credentials</p></figcaption></figure>

Detailed steps for creating the OAuth2 credentials can be found in their respective articles\_

* [Microsoft with OAuth2](/email-this-issue/administration/mail-server-connections/microsoft-with-oauth2.md)
* [Gmail with OAuth2](/email-this-issue/administration/mail-server-connections/gmail-with-oauth2.md)
