# Messages are being scheduled but not sent

**URL:** <https://forum.mautic.org/t/messages-are-being-scheduled-but-not-sent/16853>\
**Category:** Product Support\
**Created:** [November 4, 2020, 2:25pm UTC](https://forum.mautic.org/t/messages-are-being-scheduled-but-not-sent/16853 "2020-11-04T14:25:59Z")\
**Posts on this page:** 5\
**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, 2:25pm UTC](https://forum.mautic.org/t/messages-are-being-scheduled-but-not-sent/16853/1 "2020-11-04T14:25:59Z")

</div>

Happy Wednesday everyone, I have a problem.

I created a campaign which send emails every 3 days however when look at the SendGrid report I can see only the first and second messages are being sent.

For example I look at campaign report, yesterday 200 emails are supposed be sent out but on sendgrid report only 100 requests were received. Anyone has an idea what could be the problem, please?

Thank you in advance.

 ![not sending](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/875506f1bd6de1730a59c4a570738d2ce8a4e922.png)

---

<div class="post-metadata">

**Author:** ![EJL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ejl/32/12155_2.png) [@EJL](https://forum.mautic.org/u/EJL)\
**Post date:** [November 4, 2020, 3:07pm UTC](https://forum.mautic.org/t/messages-are-being-scheduled-but-not-sent/16853/2 "2020-11-04T15:07:12Z")

</div>

[@moderators](https://forum.mautic.org/groups/moderators) might move this to Support instead of Development

@john67 to troubleshoot we need Mautic version, Php version, Mysql or Mariadb version and log entries.

---

<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, 4:02pm UTC](https://forum.mautic.org/t/messages-are-being-scheduled-but-not-sent/16853/3 "2020-11-04T16:02:07Z")

</div>

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}

system: Linux ubuntu-2gb-hel1-1 4.15.0-101-generic

Mautic version: v2.16.3  
PHP Version 7.2.24-0ubuntu0.18.04.6  
mysql Version: mysqlnd 5.0.12-dev - 20150407

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [November 4, 2020, 5:42pm UTC](https://forum.mautic.org/t/messages-are-being-scheduled-but-not-sent/16853/4 "2020-11-04T17:42:24Z")

</div>

Hey

So for one it looks like there is a permission problem. I do not know exactly what this is but a precaution would be to change the owner of the entire mautic directory to www-data, this is done by running: chown -R www-data:www-data /var/www/mautic/\*

Second it would be good to see your cronjob to make sure they are setup correctly.

Another thing that pops to mind is to make sure your SendGrid plan is correct, if it is only sending out 100 mails per day, this is generally the default package SendGrid gives to free accounts. But then again you say SendGrid only received 100 requests, so maybe not this.

---

<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:30pm UTC](https://forum.mautic.org/t/messages-are-being-scheduled-but-not-sent/16853/5 "2020-11-04T18:30:22Z")

</div>

I just checked my server and I see this error.

 ![shhs](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/0/0fd7f3e15bb177129e0a68cb17ce6d17d7ce875a.png)
