# Setting up SMTP

To send emails from your own email address, you need to setup SMTP. You can find the sample SMTP settings for the well-known services below. &#x20;

{% tabs %}
{% tab title="Gmail, Google Apps" %}
There are two ways of using Gmail, Google Apps as SMTP source. You can enable two-factor authentication or use the default Gmail. We suggest you use two-factor authentication for better security.&#x20;

Find below the necessary actions for the specified methods :point\_down:&#x20;

**Method 1: Using Gmail/Google Apps with two-factor authentication**

* Go to [the app passwords ](https://security.google.com/settings/security/apppasswords)page on your google account to generate an app password.
* Select app type as **Mail** and Device as **Other** (You can name it as merchbees if you like)
* Copy the generated app password.&#x20;
* On the [SMTP Settings page,](https://merchbees.com/setting/smtp) enter the below information.

{% hint style="success" %}
**Host:** smtp.gmail.com \
**Port:** 465 \
**Use SSL:** True \
**Username:** Your email address \
**Password:** App password (It is generated in the previous step.)
{% endhint %}

**Method 2:  Using Gmail/Google Apps without two-factor authentication**

* You need to change two settings on your google account.&#x20;
  * Enable less secure apps option [here](https://myaccount.google.com/lesssecureapps).
  * Unlock captcha [here](https://accounts.google.com/b/0/displayunlockcaptcha).
* On the [SMTP Settings page,](https://merchbees.com/setting/smtp) enter the below information.

{% hint style="success" %}
**Host**: smtp.gmail.com \
**Port:** 465 \
**Use SSL:** True \
**Username:** Your email address \
**Password:** Your email password
{% endhint %}
{% endtab %}

{% tab title="Yahoo" %}
On the [SMTP Settings page,](https://merchbees.com/setting/smtp) enter the below information.:point\_down:&#x20;

{% hint style="success" %}
**Host:** smtp.mail.yahoo.com \
**Port:** 465 \
**Use SSL:** True \
**Username:** Your email address \
**Password:** Your email password
{% endhint %}
{% endtab %}

{% tab title="Hotmail" %}
On the [SMTP Settings page,](https://merchbees.com/setting/smtp) enter the below information.:point\_down:&#x20;

{% hint style="success" %}
**Host:** smtp-mail.outlook.com \
**Port:** 587\
**Use SSL:** False\
**Username:** Your email address \
**Password:** Your email password
{% endhint %}
{% endtab %}

{% tab title="Yandex" %}
On the [SMTP Settings page,](https://merchbees.com/setting/smtp) enter the below information.:point\_down:&#x20;

{% hint style="success" %}
**Host:** smtp.yandex.com \
**Port:** 465\
**Use SSL:** True \
**Username:** Your email address \
**Password:** Your email password
{% endhint %}
{% endtab %}
{% endtabs %}

If you are using a different email provider, then you can search for the provider's SMTP details. If you can't find out, let us know. We are always here to help!


---

# 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://docs.merchbees.com/merchbees-low-stock-alert/homepage/setting-up-smtp.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.
