# Unable to send emails but test email works

**URL:** <https://forum.mautic.org/t/unable-to-send-emails-but-test-email-works/34962>\
**Category:** Product Support\
**Created:** [February 6, 2025, 10:39pm UTC](https://forum.mautic.org/t/unable-to-send-emails-but-test-email-works/34962 "2025-02-06T22:39:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kerbymart](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/kerbymart/32/13655_2.png) [@kerbymart](https://forum.mautic.org/u/kerbymart)\
**Post date:** [February 6, 2025, 10:39pm UTC](https://forum.mautic.org/t/unable-to-send-emails-but-test-email-works/34962/1 "2025-02-06T22:39:28Z")

</div>

**Your software**  
My Mautic version is: Mautic-5  
My PHP version is: 8.1.31  
My Database type and version is: 8.0

**Your problem**  
My problem is:

I deployed [Mautic 5 in Coolify](https://github.com/coollabsio/coolify/issues/2362) and the Email DSN and then “Send test email”, I went to the mailbox of the SMTP email account and the test email was in the inbox.

Now, I added a sample contact (which is my personal Gmail and my company email), I tried to send an email by “Send a custom email to ” and the log shows:

|| || |Test|Email sent|Today, 5:46 pm|

But the email is not sent. I have tried this many times to no avail.

How can I debug the problem? The Coolify service runs a few docker containers:

**These errors are showing in the log:**

(Cannot find error log)

**Steps I have tried to fix the problem:**

1. Setup Email DSN test and then tried to manually send an email to a contact.

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

---

<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:** [February 8, 2025, 5:15pm UTC](https://forum.mautic.org/t/unable-to-send-emails-but-test-email-works/34962/2 "2025-02-08T17:15:37Z")

</div>

Hey, please go to your configuration, system info and then the mautic log and see what errors/warnings might be showing there.
