> For the complete documentation index, see [llms.txt](https://docs.jaka.app/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jaka.app/shopify/~/revisions/rpY9mFDjQMRHRtjRdnC9/email-notifications/smtp-setup.md).

# SMTP Setup

* Email notifications will be sent from our email server (<no-reply@tipo.io>) to your admin email addresses by default.  For example: after an affiliate registers, the email is sent from <no-reply@tipo.io> to <affiliate@gmail.com> to let him know that his account is created.&#x20;

<figure><img src="/files/5vpWUZJdqxazwjyCjNHJ" alt=""><figcaption></figcaption></figure>

* The email notification  will be sent from your own SMTP email address to affilaite email address (<affiliate@gmail.com>) if SMTP is set up in the app.&#x20;

Here are all of the essential steps required to set up SMTP email:

1. Open the app > click **Email Notifications** tab&#x20;
2. Select a tab in any tabs: **Merchant**, **Affiliates**, **Referrals >** select **Your own SMTP** in **Provider**
3. **Enter the information to set up SMTP:** SMTP server, Port, Encryption, Username / Email address, Password. This information is from your own SMTP account.
4. Click **save**&#x20;

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

Then you can submit the register form for affiliate to test if the SMTP config is correct and working.

Below is the way to set up Google SMTP for reference.

### Step 1: Log into your Google account

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

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

### **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/p8k5bQSdLwsv5RZogDv6" alt=""><figcaption></figcaption></figure>

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

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

### Step 3: Configure Gmail on the SMTP &#x20;

Enter the **Gmail** details inside SMTP app (to activate SMTP app)

1. Use **smtp.gmail.com** as your host email&#x20;
2. Use port **465**&#x20;
3. Use mail encryption **SSL**&#x20;
4. **User name/email address:** enter your Gmail  ( for example: <xxxx@gmail.com>)
5. Enter your **App password you created in step 2**
6. Click **Save**&#x20;

Note: This password needs to be the App password that has been created in Step 2, not the password of G-mail account

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