Integrate SendGrid into WHM/cPanel..

  1. Login to your WHM account
  2. Click on Service Configuration -> Exim Configuration Manger
  3. Click on the Advanced Editor tab

  4. Find the section called Section: AUTH and paste the following into the text box, substituting in your SendGrid username and password:
    sendgrid_login:
    driver = plaintext
    public_name = LOGIN
    client_send = : <YourSendGridUsername> : <YourSendGridPassword>

  5. Find the section called Section: PREROUTERS paste the following in the textbox, substituting in your Domain name in the senders line:
    send_via_sendgrid:
    driver = manualroute
    domains = ! +local_domains
    senders = *@<YourDomainHere>
    transport = sendgrid_smtp
    route_list = "* smtp.sendgrid.net::587 byname"
    host_find_failed = defer

  6. Find the section called Section: TRANSPORTSTART and paste the following in the textbox:
    sendgrid_smtp:
    driver = smtp
    hosts = smtp.sendgrid.net
    hosts_require_auth = smtp.sendgrid.net
    hosts_require_tls = smtp.sendgrid.net

Voila! That’s all there is to it!

Tagged:

Rate This Article

(25 out of 77 people found this article helpful)