SendGrid

Published

Updated

📬

Email delivery service integration.

SendGrid, part of Twilio, sends transactional e-mail by SMTP or API. Verify the domain with DKIM and SPF records at the DNS provider, then send with the SendGrid PHP library.

About SendGrid

SendGrid, owned by Twilio since 2019, sends transactional and marketing e-mail by API or SMTP.

Pricing

SendGrid has paid plans and checks new accounts before they can send, see SendGrid pricing.

Set up

Verify the domain with the DKIM and SPF records SendGrid shows, at the DNS provider of the domain.

Using SendGrid with fortrabbit

Install the SendGrid PHP library:

composer require sendgrid/sendgrid
shell

Store the SendGrid API key as an ENV var and pass it to the client. Frameworks can also send through the SMTP access of SendGrid with the API key as password.

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗