Issues with Email Campaigns and Media in Mautic 6.0.0

Hello everyone,

First of all, thank you for this amazing software — Mautic 6.0.0!
I’m planning to use it as part of my Master’s studies in Computer Science and Digital Communication.

I’ve deployed Mautic on a VPS running Ubuntu, but I’m currently facing a couple of issues that I can’t seem to resolve:

  1. Email campaigns not sending:

The SMTP configuration is correct (emails can be sent manually).
However, when I create an email campaign and send it to a contact, the contact remains in “Pending” status, and the email is never sent.

  1. images not displaying in email templates:

When I add an image or file to an **email template, it appears to be saved correctly in the database and uploaded to the media/pictures folder on the VPS.
However, the image doesn’t display in the email, either in preview mode or when received.

Do you have any ideas or suggestions that could help me fix these issues?
I’d love to present your application in the best possible way during my thesis presentations!

Thank you in advance for your support

1 Like

Hey there,

Happy you are enjoying Mautic and using it towards your studies.

Possible reasons for email campaigns not sending are:

  1. Are cronjobs setup correctly ?
  2. Is the email published ?
  3. Are you seeing anything in the logs?

Possible reasons images are not showing …

  1. Did you upload the images through the UI or via scp/file transfer.
  2. If the latter and they are sitting in the correct directory do they have the correct permissions and are they allocated to www-data user and group ?

Hope these little things start you in the right direction

there is the : sudo crontab -u www-data -e

the mail are published
image

for the media :
i add media throu the ui, and the folder are the right permission

thanks

So looks like everything is setup correctly.

Do you see anything in the logs ? /mautic/var/logs/

Another thing you can do is to clone the campaign and then run it manually from the terminal ands see if there are any issues, i would also clone the emails (are you sending them as marketing or transactionals>)

I don’t see anything in the logs, there are no errors.

I deleted the old campaign and created a new one, via the “Channels” menu, “Emails.”
I configured it (sent a test email that I received).

Then I sent it definitively,

and I got this:

can you do a screenshot of the two contact card specifcally the email address of the two contacts you are sending to.

Here are the two contact cards.
For Sébastien Schwaab, the queued email is the first campaign I deleted.


it is strange you are not seeing any errors in teh log. Is this even if you go to Configuration → System → Logs ? (Which is the same as /var/www/mautic/var/logs/mautic_prod_date.php

when I go into the settings the logs seem to be configured correctly

here the log

The only problem concerning the bypass lockin is resolved, I modified it in the crontab

The important one to look at here is the ERROR on the third line regarding symphony, the rest are all notices and Warnings…

As said above, the --bypass-locking command is not valid for all cron tasks, which I corrected, but the problem does not change, I cannot send emails

I installed Mautic 5.2.4, and the same problem appears: I can’t upload images for messages in an email campaign and I can’t send an email campaign.

How can I resolve this problem?