DEV Community

Rohit Urane
Rohit Urane

Posted on

3 2

Integrate SendGrid Email tool in laravel

Integrate sendgrid email tool in laravel
SendGrid sends email in two ways:- SMTP relay and Web API. SendGrid provides client libraries in many languages. SMTP has many features by default but is hard to set up. It also provides a tracking mail API. SendGrid manages all the technical details, from scaling the infrastructure to ISP outreach and reputation monitoring to services and real-time analytics.

Step by step guide on integration of SendGrid:

  • Create an Account on SendGrid
    If you don't have an account on the SendGrid platform. you should create one Click Here

  • Configure SendGrid credentials to an application
    You can update the env file with SendGrid credentials. Look at the below code after revising the env file

MAIL_DRIVER=smtp
MAIL_HOST=smtp.sendgrid.net
MAIL_PORT=587
MAIL_USERNAME=XXXXXXXXXXX
MAIL_PASSWORD=XXXXXXXXXXX

Enter fullscreen mode Exit fullscreen mode

Read More

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay