# Upgrade to 5.1 - SendGrid not working

**URL:** <https://forum.mautic.org/t/upgrade-to-5-1-sendgrid-not-working/32486>\
**Category:** Product Support\
**Created:** [June 21, 2024, 8:00pm UTC](https://forum.mautic.org/t/upgrade-to-5-1-sendgrid-not-working/32486 "2024-06-21T20:00:16Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![c-speed](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/c-speed/32/12621_2.png) [@c-speed](https://forum.mautic.org/u/c-speed)\
**Post date:** [June 22, 2024, 5:18pm UTC](https://forum.mautic.org/t/upgrade-to-5-1-sendgrid-not-working/32486/2 "2024-06-22T17:18:39Z")

</div>

UPDATE: I finally resolved the issue. For how good Mautic is, I want to preface this with the fact that the Mautic + SendGrid integration documentation is extremely poor.

1. You must install SendGrid via composer:

composer require symfony/sendgrid-mailer

1. You must configure the Email DSN as follows:

Scheme: sendgrid+api  
Host: [api.sendgrid.com](http://api.sendgrid.com)  
Port: Leave Blank  
Path: Leave Blank  
User: Your SendGrip API key  
Password: Leave Blank

 ![Screenshot 2024-06-22 at 10.11.23 AM](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/9143a91a152df024b69d4a2447e5625f2672c5e7.png)

I hope this helps prevent other people from wasting hours of their time.

---

_[View the full topic](https://forum.mautic.org/t/upgrade-to-5-1-sendgrid-not-working/32486)._
