# Mail Server

The Mail Server settings are required in order to send some critical emails like the account verification link, order confirmation or password reset link. We will guide you through this section to set it up.

## Mail Server Settings

* **Transport**
  * **SMTP:** if you have an SMTP server at your disposal
  * **Gmail:** if you wish to use your Gmail account
  * **Sendmail:** if you wish to use the Sendmail transfer agent
* **Host:** The server host name or ip adrress
* **Port:** The port used for outgoing emails
* **Encryption:**
  * **None:** No encryption
  * **SSL:** to use Secure Sockets Layer
  * **TLS:** to use Transport Layer Security
* **Username:** The email or username of your account
* **Password:** Your account's password

## Gmail configuration

In case you want to use your Gmail account to send out emails, you should use the following configuration:

* [x] Transport: Gmail
* [x] Host: localhost
* [x] Port:&#x20;
* [x] Encruption: None
* [x] Username: Your Gmail account email
* [x] Password: Your Gmail account password

{% hint style="info" %}
You have to allow Less secure apps to access your Gmail account, follow this link for more information <https://support.google.com/accounts/answer/6010255>
{% endhint %}


---

# 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://mtrsolution.gitbook.io/eventic/settings/mail-server.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.
