# 4.8 SMTP Configuration (GMAIL)

This step involves a mail server or an email service provider that supports SMTP such as Gmail, Outlook, and SendGrid.

**Step 1: Configure SMTP Service**

Obtain the SMTP configuration details from your email service provider. You will need the SMTP host, port, and credentials (email and password) that you need to use for authentication and then add them in the form fields as shown below.

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

**Step 2: Testing SMTP**

After submitting the SMTP configurations an OTP mail is sent to the TO\_EMAIL. Submit that OTP and on successful verification next step will begin, else you will be redirected to the previous step to change SMTP configurations.

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

If you do not understand about SMTP, we have provided more details below.

Please click on: [***https://www.cloudflare.com/en-gb/learning/email-security/what-is-smtp***\ <br>](https://www.cloudflare.com/en-gb/learning/email-security/what-is-smtp)We have also provided some SMTP setup documents below

* [***Gmail***](https://www.gmass.co/blog/gmail-smtp/)
* [***Outlook***](https://www.gmass.co/blog/outlook-smtp/)
* [***SendGrid***](https://www.gmass.co/blog/sendgrid-smtp-account-configuration/)

Here is the SMTP Testing tool so you can test

[***https://www.gmass.co/smtp-test***](https://www.gmass.co/smtp-test)

<br>


---

# 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://help.alianhub.com/app-installation-and-start-guide/4.-installation-guide/4.8-smtp-configuration-gmail.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.
