> 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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FBWXpAjGbY57fz8rVrUPR%2F2024-12-09_15-50-26.png?alt=media&amp;token=ef615b3a-f17d-4411-abed-5c7e87b9b6b3" 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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2Ft3my6kKHXNyEu0uIzdwc%2F2024-12-09_15-54-22.png?alt=media&amp;token=1e847115-8601-4619-9155-70d5d75bb148" 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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FvAnXjTHVm5b2KJ8SawNR%2Fimage.png?alt=media&amp;token=3949fec7-35d4-4f40-84de-bc1055101c61" 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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FwcMhL4l0WiOhTdqGag2O%2Fimage.png?alt=media&amp;token=5dcaef74-3b30-420d-8212-c5866e6e88f6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2F8FTWz5bjrjw4VRRLUqM3%2Fimage.png?alt=media&amp;token=8e163731-2843-4a80-a207-748f4b1abb2c" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FZVVIGTMt18DX1qHJtqiP%2Fimage.png?alt=media&amp;token=f1f60382-83ac-466b-b303-3477f2f58033" 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="https://2078839253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvdV1PFu8mN1B3K5QZCrx%2Fuploads%2FOlMcEA5eAAFY4Eatm4c1%2F2024-12-09_15-54-22.png?alt=media&amp;token=c47091f7-03b3-466e-8c0d-6b9d773bc78f" alt=""><figcaption></figcaption></figure>
