# (simple) campaign not sending mail after new user has been added

**URL:** <https://forum.mautic.org/t/simple-campaign-not-sending-mail-after-new-user-has-been-added/20793>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [September 9, 2021, 10:37am UTC](https://forum.mautic.org/t/simple-campaign-not-sending-mail-after-new-user-has-been-added/20793 "2021-09-09T10:37:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeroenverschoor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jeroenverschoor/32/5772_2.png) [@jeroenverschoor](https://forum.mautic.org/u/jeroenverschoor)\
**Post date:** [September 9, 2021, 10:37am UTC](https://forum.mautic.org/t/simple-campaign-not-sending-mail-after-new-user-has-been-added/20793/1 "2021-09-09T10:37:04Z")

</div>

**Your software**  
My Mautic version is: 4.0.0  
My PHP version is: 7.4.23  
My Database type and version is: 5.5.68-MariaDB

**Your problem**  
My problem is:  
A very simple campaign which should sent an email after a new record has been added does not sent mail.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/4/43f7be718f4ae650995557ebad0da7bf08674a21.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a06adc902ac63b0f76fe5d5647b99b27dd5fb3e2.png)

New records are added through the API by our Wordpress website. This works fine:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/e/e16a435f09622ba93d18416fef13f22b57731897.png)

These errors are showing in the log:  
No errors, the log is totally empty

Steps I have tried to fix the problem:  
Completely reinstalled Mautic, created the API connection again (and again), tested and cannot solve this minor issue.

---

<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:** [September 9, 2021, 4:26pm UTC](https://forum.mautic.org/t/simple-campaign-not-sending-mail-after-new-user-has-been-added/20793/2 "2021-09-09T16:26:48Z")

</div>

Check yourmautic/var/spool directory. If your messages are spooled there via queue refer to this

> [@Hourly Limits](https://forum.mautic.org/t/hourly-limits/20190/9):
>
> use –message-limit XX in your cron and replace the XX with the number of emails you want to send. If you are using queue then swiftmailer:spool:send --message-limit=xx specifies how many emails per cron are sent to your delivery server for processing (actual sending)

---

<div class="post-metadata">

**Author:** ![jeroenverschoor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jeroenverschoor/32/5772_2.png) [@jeroenverschoor](https://forum.mautic.org/u/jeroenverschoor)\
**Post date:** [September 11, 2021, 10:20am UTC](https://forum.mautic.org/t/simple-campaign-not-sending-mail-after-new-user-has-been-added/20793/3 "2021-09-11T10:20:29Z")

</div>

Thank you for answering my question…  
The var/spool directory is empty. It looks like the campaign is not triggering the email set to be send…

---

<div class="post-metadata">

**Author:** ![jeroenverschoor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/jeroenverschoor/32/5772_2.png) [@jeroenverschoor](https://forum.mautic.org/u/jeroenverschoor)\
**Post date:** [September 15, 2021, 7:18am UTC](https://forum.mautic.org/t/simple-campaign-not-sending-mail-after-new-user-has-been-added/20793/4 "2021-09-15T07:18:37Z")

</div>

It has been solved! It was not sending mail due to missing cronjobs set…
