cPanel

How to configure SendGrid on cPanel

configure SendGrid
configure SendGrid

How to configure SendGrid on cPanel

Configure SendGrid on cPanel is quite a simple task. SendGrid is an email email delivery and management service.

This post will help you to configure SendGrid on cPanel. You can simply do it using “Exim Configuration Manager” option available on WHM. Please go to WHM > Service Configuration > Exim Configuration Manager and open the “Advanced Editor” tab.

You need to edit following sections there:

Search for “Section: AUTH” and add the following.

 
sendgrid_login:
 driver = plaintext
 public_name = LOGIN
 client_send = : <YourSendGridUsername> : <YourSendGridPassword>

Then, search for “Section: PREROUTERS” and add the following code.

 
send_via_sendgrid:
 driver = manualroute
 domains = ! +local_domains
 senders = *@<YourDomainHere>
 transport = sendgrid_smtp
 route_list = "* smtp.sendgrid.net::587 byname"
 host_find_failed = defer

Lastly, search for “Section: TRANSPORTSTART” and add the following code.

 
sendgrid_smtp:
 driver = smtp
 hosts = smtp.sendgrid.net
 hosts_require_auth = smtp.sendgrid.net
 hosts_require_tls = smtp.sendgrid.net

Save the configuration and send a test email. You can find something with *sendgrid in the email header.

That’s it! Please let us know if you have any questions.

If you like this post and wish to receive more articles from us, please like our FB page: Grepitout

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

Add Comment

Click here to post a comment

Topics