> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/sa-request-a-quote/mail-settings/set-up-smtp-email.md).

# Set up SMTP email

* Setting SMTP is optional. If you do not configure this option, email notifications will be sent from our email server (<no-reply@samita.io>) by default
* Our app currently only supports **Google** and **Outlook** SMTP. For other email providers, you can configure **API**. [Learn more](https://globosoftware.net/kb/set-up-your-admin-email-with-api-configure-2/)

Please follow our below instructions to configure the SMTP email service in the app. The specific case below is setting Goolge SMTP

#### **Step 1: Log into your Google account**&#x20;

First, log into your Google account [here](https://myaccount.google.com/)

<figure><img src="/files/VG265mjV1fnispm7mMOO" alt=""><figcaption></figcaption></figure>

&#x20;

#### **Step 2: Enabling 2-Step Verification**

To make sure that your Google account is well protected to avoid any intervention when using the SMTP service; therefore, we recommend enabling the 2-step verification offered by Google.

Here is the guide for you: [Enabling 2-Step Verification](https://support.google.com/accounts/answer/185839?hl=en\&co=GENIE.Platform%3DAndroid)

If you have already enabled the 2-step verification, then you may jump to Step 3 below.

#### **Step 3: Generate App Password**&#x20;

1. Then click [here](https://accounts.google.com/signin/v2/challenge/pwd?continue=https%3A%2F%2Fmyaccount.google.com%2Fapppasswords\&service=accountsettings\&osid=1\&rart=ANgoxcdLMmet3NvgjbdpzsMq0KoXNJyxtAoCLMbvDQUlJfgOx1aurad5UovfOx_VzIQCC3ngjDNa4NrhIcMzG1vVgoTmlSvedg\&TL=AC7eWV1D1q-bjvM25M6waxUjQCCabFxl0K9Bn0bW5AWXuTc3O0zPCDZxtbw2g3d0\&flowName=GlifWebSignIn\&cid=1) to generate **App password**
2. Select **Other/Custom name** from **Select App**, give it a name such as “DO – Production Server” and then click **Generate**.
3. Note down the application password as it will be required in the next step.

<figure><img src="/files/YGy4MFjKjhgbCAguH8DM" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ky44DjPvSvA6tE43iGFb" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/9gLvCppQjcDRi7gZoHN7" alt=""><figcaption></figcaption></figure>

#### **Step 4: Configure Gmail on the SMTP Add-on in the app**

**Steps to manage**&#x20;

1\.  In the app admin page, click Advanced settings > Email notifications

2\. Navigate the **SMTP** section. Select one email service provider in the dropdown list. For example: **Google**

<figure><img src="/files/gXSJ5UHosIa2G0k8lHNP" alt=""><figcaption></figcaption></figure>

&#x20;3\. Enter the information of your own SMTP in the field

&#x20;4\. Click **Save** to update the changes

&#x20;5\. Enter the test email and check

Google SMTP configuration includes the below information:

(1)  Enter your SMTP email

(2) Use port 465 Enter smtp.gmail.com as your host

(3) Enter your Gmail login username **<your.username@gmail.com>**

(4) Enter your **App password**

(5) Send mail as a different email (optional). [Learn more](https://globosoftware.net/kb/send-emails-from-a-different-address-or-alias/)

**Note**:&#x20;

The **App password** in field number 4 is the app password generated in Step #2 above. It’s NOT your Gmail account password.

For more information, please check the documents below:

+) What is App Password: <https://support.google.com/mail/answer/185833?hl=en>

+) Set up Google’s SMTP Server: [digitalocean.com/community/tutorials/how-to-use-google-s-smtp-server](http://digitalocean.com/community/tutorials/how-to-use-google-s-smtp-server)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.samita.io/sa-request-a-quote/mail-settings/set-up-smtp-email.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
