> For the complete documentation index, see [llms.txt](https://help.konnektive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.konnektive.com/konnektive-crm/admin-setup/plugins/smtp-maintenance/smtp-setup.md).

# SMTP Maintenance Setup

Go to the **ADMIN** tab > **PLUGINS** > then select **SMTP MAINTENANCE**.

*Click* on the **GREEN +** button. (See image) to add a new mail server.

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FjK65Y5KwFWtpQnSVdDu0%2Fimage.png?alt=media&amp;token=6e952136-824c-4cb8-bb40-e89f1ff1ce64" alt=""><figcaption></figcaption></figure>

When you click on the **GREEN +** a dialogue box will appear. That is where you will fill out the credentials for the server and *click* **Create**.

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FHMLqZ7HXb16Cb37s5lcZ%2Fimage.png?alt=media&amp;token=ef653549-374e-47ac-bede-a9236d2dce58" alt=""><figcaption></figcaption></figure>

Now you will be able to test your **SMTP Account** right away to make sure the credentials are correct and that it is running how it should be.

To do this you will *click* on the **Envelope** Icon.

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FGcUsIZPdngWHGNQbrjBv%2Fimage.png?alt=media&amp;token=092df632-0a00-4181-aef3-56f16dc2511a" alt=""><figcaption></figcaption></figure>

Once the **envelope** is open it will display another window. There you will *enter* in your *email address*.

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FTvN2o2DqYgvBE7xD6X2X%2Fimage.png?alt=media&amp;token=281042e6-79b1-4bd0-a05d-c7bc6985bb5e" alt=""><figcaption></figcaption></figure>

Once you've entered your email then *click* on **‘SEND TEST’**. This is going to let you know whether it was successful or not. You will see the results by scrolling down to the bottom (see image).

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FIDL6FtZZubtZmEAuNRts%2Fimage.png?alt=media&amp;token=758f8956-af62-41a7-a0c6-bd293ede97ee" alt=""><figcaption></figcaption></figure>

Note: *If it does **NOT** read **"SUCCESSFUL"**, chances are there is something wrong with the credentials.*

{% hint style="info" %}
**SMTP Port 25 Hosts**

Certain SMTP hosts may instruct to use port 25.  Occasionally, the SMTP connection will be unsuccessful, even with correct setup and credentials. In that event, try using port 2525 instead.
{% endhint %}

***

### Google SMTP <a href="#smtpmaintenancesetup-googlesmtp" id="smtpmaintenancesetup-googlesmtp"></a>

{% hint style="warning" %}
Google revokes your app passwords when you change your Google Account password. To continue to use an app with your Google Account, create a new app password.
{% endhint %}

**Step 1: Enable Two-Factor Authentication (2FA)**

App Passwords are only available when **2-Step Verification** is enabled on your Google account.

1. **Go to Google Account Settings**
   * Visit [myaccount.google.com](https://myaccount.google.com/).
2. **Enable 2-Step Verification**
   * Navigate to **Security** from the left-hand menu.
   * Under **"How you sign in to Google"**, click **2-Step Verification**.
   * Follow the steps to set up 2-Step Verification using your phone number or an authenticator app.

**Step 2: Generate an App Password**

1. **Access App Passwords**
   * In the **Security** section, under **"How you sign in to Google"**, look for **App Passwords**. If not available then use the ‘Search Google Account’ search bar to find it.
   * If prompted, re-enter your Google account password.
2. **Generate a New App Password**
   * Under **"Select the app and device you want to generate the app password for"**, choose:
     * **App**: Select the app you're using (e.g., Mail).
     * **Device**: Select the device you're using or choose **Custom** to enter a name.
   * Click **Generate**.
3. **Copy the App Password**
   * A 16-character password will appear. Copy it to use in Step 3.
   * Click **Done**

**Step 3: Use the App Password in SMTP Maintenance**

Host Name: [smtp.gmail.com](http://smtp.gmail.com/)&#x20;

Username: <your-gmail-address@gmail.com>&#x20;

Password: the 16-character password from Step 2&#x20;

Port: 587&#x20;

Use SSL: Enable&#x20;

Type: STARTTLS

***

### SendGrid SMTP <a href="#smtpsetup-sendgridsmtp" id="smtpsetup-sendgridsmtp"></a>

<figure><img src="https://1103784913-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FiAC0G99SjXjSv2GM5PAE%2Fuploads%2FsX4kd3jtCrUCWMTxX5Bt%2Fimage.png?alt=media&amp;token=34c174f0-5221-48e9-8feb-2517c2060541" alt=""><figcaption></figcaption></figure>

**Host Name:** [smtp.sendgrid.net](http://smtp.sendgrid.net/)

**Username**: apikey (Not your actual API key- type in “apikey”)

**From Email**: the address associated with this SMTP Profile

**password**: API key from Sengrid
