Most of the hosting servers are not optimizied for sending emails. For sending email we need a specialize email server, that will allow to manage spam, view logs and ensure deliverability.

Send grid is one of the most popular email relay system that improves reliability and deliverability. Other services like Amazon SES and Mailgun can help you accomplish the same thing, but Sendgrid is great among them which provides you the free plan with 100 emails/day forever.

In this article we wil explain you how to configure the SendGrid to our ItechSaaS cms.

Signup for a SendGrid account

The first step is to signup an account. SendGrid lets you send up to 40,000 emails for free over your first 30 days. After that, you can send up to 100 emails per day for free forever. You can see the SendGrid plan offerings from their pricing page. Once you entered your information sendgrid send you an verification email to verify your email account. Click the button to “Confirm Email Address” within your email to verify your account before moving on to the following steps.

Domain Validation for SendGrid

  1. Login to SendGrid
  2. Select Settings
  3. Click Sender Aunthentication

Step 1: Domain Authentication

  1. On the Sender Authentication page, look to the Domain Authentication settings
  2. Click Get Started in the Authenticate Your Domain box.

Step2: DNS host Selection

  1. Select your DNS host from the dropdown menu
  2. Select whether or not you would like to "whitelabel" emails being sent through SendGrid to show your own domain. For the purposes of this article, we selected "no."

Step3: Authenticate your domain

  1. Now enter the domain from which you would like to send emails.
    • Use the preview provided by SendGrid to ensure the email address appears as you would like.
  2. Click Next
  3. SendGrid will now display a list of CNAME records to add to your DNS host
    • Leave this page open for easy reference in the next step.

step 4: Verify DNS Record

  1. Ensure you have your SendGrid DNS records from Step 2
  2. Copy the Host and Value entries over to your DNS host
    • There will be multiple records that all need to be added

After you have added the records to your DNS host, switch back to SendGrid and click the Verify.SendGrid will then check the DNS records and display a green checkmark if the settings are correct.

Create API key

  1. SendGrid will display your API key, it will look like a long randomized string of characters
    • NOTE: For security purposes, SendGrid cannot display the API key to you more than once. Be sure to save your API key in a safe place.

Create SMTP Relay

  1. Select Email API
  2. Click Integration Guide

Type the apikey name and click create key, Some randomized long string characters generated and this would be the password for the smtp settings and the username is "apikey"

SMTP Setting in ItechSaaS CMS

  1. Copy the username and password
  2. Navigate back to your itechsaas admin dashboard
  3. Select Settings
  4. Click Email Settings
  5. Fill the account settings and click update

How to Verify SMTP Configuration 

Itechsaas CMS now offers you the on-scene functionality of testing your SMTP settings right after configuring the SMTP service on the server. Hence, you can verify now if emails are properly dispatching from the server by sending a test email to yourself.

Now check your inbox to ensure you got the message!.
NOTE: You may want to check your spam folder if you haven’t received the message after a few minutes.

SendGrid has now been successfully configured!