# Mautic does not send scheduled email to spool

**URL:** <https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [January 6, 2022, 3:15pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262 "2022-01-06T15:15:18Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucascostagyn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lucascostagyn/32/6627_2.png) [@lucascostagyn](https://forum.mautic.org/u/lucascostagyn)\
**Post date:** [January 6, 2022, 3:15pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/1 "2022-01-06T15:15:18Z")

</div>

**Your software**  
My Mautic version is: v3.3.4  
My PHP version is: 7.3.33-1  
My Database type and version is: Ver 15.1

**Your problem**  
My problem is:  
When I create an email for a segment and leave it programmed to send the email, no files are created in the spool and they are not created in the var/spool folder, but if you send them manually, clicking send in the front end they are generated, can anyone help me with this problem?

These errors are showing in the log:

No log is generated, email is just pending.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 6, 2022, 4:00pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/2 "2022-01-06T16:00:39Z")

</div>

Hi, this cronjob will do it for you:

/var/www/html/bin/console mautic:broadcasts:send

You need to:

1. Publish the Email
2. Set publish time to a future (or current date)
3. Set unpublish time to a later date
4. Click on SEND

---

<div class="post-metadata">

**Author:** ![aloha.abhijit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aloha.abhijit/32/6472_2.png) [@aloha.abhijit](https://forum.mautic.org/u/aloha.abhijit)\
**Post date:** [January 9, 2023, 5:24am UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/3 "2023-01-09T05:24:22Z")

</div>

I am facing same issue with 4.4.4.  
I have scheduled an email , Its published successfully on same time but its still in pending state.  
I have two accounts of mautic with same configuration and same cron job.  
In another account everything is working in well condition.

Could you please help me with this ?

Thanks in advance for help.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 9, 2023, 7:53am UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/4 "2023-01-09T07:53:36Z")

</div>

Plz double check if the email config is the same for all instances.  
Do you use send immediatly or spool?  
J

---

<div class="post-metadata">

**Author:** ![aloha.abhijit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aloha.abhijit/32/6472_2.png) [@aloha.abhijit](https://forum.mautic.org/u/aloha.abhijit)\
**Post date:** [January 9, 2023, 9:17am UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/5 "2023-01-09T09:17:54Z")

</div>

Thanks for the reply Joey,

Where I can check whether I am using send immediatly or spool ?

Thanks

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 9, 2023, 3:36pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/6 "2023-01-09T15:36:50Z")

</div>

Hi, it’s in Email Settings.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/3/385c226b72e2c994d0ead898e86442e42598520a.png)

---

<div class="post-metadata">

**Author:** ![aloha.abhijit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aloha.abhijit/32/6472_2.png) [@aloha.abhijit](https://forum.mautic.org/u/aloha.abhijit)\
**Post date:** [January 10, 2023, 5:04am UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/7 "2023-01-10T05:04:42Z")

</div>

Thanks for your reply Joey,

For both instances, I am using queue for email sending.

I have attached a snapshot of my email setting along with this post.

Could you please help me with this.

Thanks

 ![Email_setting](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/2cdd926ba50557008393290a7b66d4c274a5a284.jpeg)

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [January 10, 2023, 4:40pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/8 "2023-01-10T16:40:25Z")

</div>

Did you check this?

> **[Email sending doesn't work - here are 10 things to check - Knowledge Base](https://kb.mautic.org/article/email-sending-doesn-039%3bt-work-here-are-10-things-to-check.html)**
>
> This article will help you to identify email sending problems in Mautic.

---

<div class="post-metadata">

**Author:** ![aloha.abhijit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aloha.abhijit/32/6472_2.png) [@aloha.abhijit](https://forum.mautic.org/u/aloha.abhijit)\
**Post date:** [March 1, 2023, 2:42pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/9 "2023-03-01T14:42:54Z")

</div>

Hello Joeyk,

As investigation after running the broadcast cron manually for a first instance I am able to get the published email entry into channel column in the table but for second instance I am not able to see the entry for sceduled and punbished email.

Could you please help me with this ?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![aloha.abhijit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aloha.abhijit/32/6472_2.png) [@aloha.abhijit](https://forum.mautic.org/u/aloha.abhijit)\
**Post date:** [March 1, 2023, 2:48pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/10 "2023-03-01T14:48:15Z")

</div>

Hi Joek,

Also I am able to see the emails entry into the spool folder for first mautic instance but not able to see for the another instance. I am using generic code and generic spool folder for both the instances.

Could you please help me with this.

Thanks

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 1, 2023, 9:45pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/11 "2023-03-01T21:45:45Z")

</div>

Hi.  
Plz paste here the path of your Mautic on the server.

---

<div class="post-metadata">

**Author:** ![aloha.abhijit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aloha.abhijit/32/6472_2.png) [@aloha.abhijit](https://forum.mautic.org/u/aloha.abhijit)\
**Post date:** [March 2, 2023, 5:43am UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/12 "2023-03-02T05:43:54Z")

</div>

Thanks for your reply joeyk,

Below is the path of my Mautic on the server.  
/var/www/html/mautic-rc

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 3, 2023, 10:18am UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/13 "2023-03-03T10:18:03Z")

</div>

Okay, you said, you have 2 Mautics? What is the path for the second one?

---

<div class="post-metadata">

**Author:** ![aloha.abhijit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aloha.abhijit/32/6472_2.png) [@aloha.abhijit](https://forum.mautic.org/u/aloha.abhijit)\
**Post date:** [March 3, 2023, 10:34am UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/14 "2023-03-03T10:34:41Z")

</div>

Thanks for your reply joeyk,

In a single mautic setup on server we have managed multiple config (local.php) files for multiple clients. Also used different databases for every client.  
we have used subdomain to redirect through the local.php file. like if we have subdomain [test.mautic.com](http://test.mautic.com) then its refering the folder test which includes the local.php config file.

So , We are refering the same codebase and same path which is generic for all the instances.

Path: /var/www/html/mautic-rc

I have attached config file folder structure for you referance.

Thanks in advance joey.

Thanks,  
Abhijit

 ![config_folder_struct](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/59fc6e9654a37f204ecd91a1249df0ccdff8ebc8.png)

---

<div class="post-metadata">

**Author:** ![aloha.abhijit](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/aloha.abhijit/32/6472_2.png) [@aloha.abhijit](https://forum.mautic.org/u/aloha.abhijit)\
**Post date:** [March 3, 2023, 10:39am UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/15 "2023-03-03T10:39:54Z")

</div>

Hello joeyk,

In the attached snapshot in above post. If we are accessing the application via domain [alohatest9.mautic.com](http://alohatest9.mautic.com) then the application is refering the app-\>config-\>alohatest9-\>local.php config file.

Thanks,  
Abhijit

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 3, 2023, 5:59pm UTC](https://forum.mautic.org/t/mautic-does-not-send-scheduled-email-to-spool/22262/16 "2023-03-03T17:59:49Z")

</div>

I’m a bit confused. Mautic’s config is in /app/config/local.php  
Is your config file in a different place?
