# SendGrid API

**URL:** <https://forum.mautic.org/t/sendgrid-api/16860>\
**Category:** Product Support\
**Created:** [November 4, 2020, 6:36pm UTC](https://forum.mautic.org/t/sendgrid-api/16860 "2020-11-04T18:36:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![john67](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/john67/32/636_2.png) [@john67](https://forum.mautic.org/u/john67)\
**Post date:** [November 4, 2020, 6:36pm UTC](https://forum.mautic.org/t/sendgrid-api/16860/1 "2020-11-04T18:36:44Z")

</div>

**Your software**  
My Mautic version is: v2.16.3  
My PHP version is: 7.2.24-0ubuntu0.18.04.6  
My Database type and version is: mysqlnd 5.0.12-dev - 20150407

**Your problem**  
My problem is: I see this error from on my vps server and my follow up messages are not being sent by Mautic. Does anyone know how to solve this?

These errors are showing in the log:  
[2020-11-04 14:02:24] mautic.NOTICE: PHP Notice - SessionHandler::gc(): ps\_files\_cleanup\_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) - in file /var/www/html/vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php - at line 86  
{“maxlifetime”:1440}

Steps I have tried to fix the problem:

 ![11](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/de3558d041a4490c78c1f258217f423223c18ed6.png)
