Mautic does not send scheduled email to spool

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.

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
1 Like

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.

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

Thanks for the reply Joey,

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

Thanks

Hi, it’s in Email Settings.
image

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

Did you check this?

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.

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

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

Thanks for your reply joeyk,

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

Thanks in advance.

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

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 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

Hello joeyk,

In the attached snapshot in above post. If we are accessing the application via domain alohatest9.mautic.com then the application is refering the app->config->alohatest9->local.php config file.

Thanks,
Abhijit

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