# I can not send a test email

**URL:** <https://forum.mautic.org/t/i-can-not-send-a-test-email/35086>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [February 21, 2025, 10:27pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086 "2025-02-21T22:27:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![erich78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/erich78/32/13726_2.png) [@erich78](https://forum.mautic.org/u/erich78)\
**Post date:** [February 21, 2025, 10:27pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/1 "2025-02-21T22:27:25Z")

</div>

**Your software**  
My Mautic version is: 5  
My PHP version is: 8.2.27  
My Database type and version is: MySQL

**Your problem**  
My problem is: I have downloaded and installed the latest version of your software Mautic v5 on a subdomain on my Hostinger account it has loaded and I can access the dashboard and the cron jobs are working but I can not send out a test email I am currently using a Hostinger email address

These errors are showing in the log: when I try I get this error code Connection could not be established with host “localhost:25”: stream\_socket\_client(): Unable to connect to localhost:25 (Connection timed out)

Steps I have tried to fix the problem: uninstalled and reinstalled the files checked the Mautic docs step by step, but could not see the issue and tried using my Gmail, but the same issue last asked chat GPT

 ![Screenshot 2025-02-21 140408](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/7/7bac8262468a0e6a9f1504119f9f6dcf9773493d.png)

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [February 22, 2025, 10:40pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/2 "2025-02-22T22:40:57Z")

</div>

Hi @erich78 … you should add your SMTP Host and Port as well. I doubt that localhost will work with Hostinger?

---

<div class="post-metadata">

**Author:** ![erich78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/erich78/32/13726_2.png) [@erich78](https://forum.mautic.org/u/erich78)\
**Post date:** [February 22, 2025, 11:09pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/3 "2025-02-22T23:09:29Z")

</div>

I’m sorry this is new to me may I ask a dumb question how many steps are in the install/setup process in the new version 2 or 3

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [February 22, 2025, 11:23pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/4 "2025-02-22T23:23:23Z")

</div>

Hi,  
please have a look here: [Installation — Mautic Documentation 0.1 documentation](https://docs.mautic.org/en/5.2/getting_started/how_to_install_mautic.html)

Its asking for your email server in the setup process - but you might still add it now in the config section in your mautic.

---

<div class="post-metadata">

**Author:** ![erich78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/erich78/32/13726_2.png) [@erich78](https://forum.mautic.org/u/erich78)\
**Post date:** [February 22, 2025, 11:32pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/5 "2025-02-22T23:32:47Z")

</div>

there was no email configuration 3rd step when I went through the installation process the other day

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [February 22, 2025, 11:55pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/6 "2025-02-22T23:55:51Z")

</div>

For sure? Thats interesting. If it can be confirmed, that would be a bug to be reported to github.

---

<div class="post-metadata">

**Author:** ![erich78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/erich78/32/13726_2.png) [@erich78](https://forum.mautic.org/u/erich78)\
**Post date:** [February 23, 2025, 12:06am UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/7 "2025-02-23T00:06:43Z")

</div>

I got the file from the Mautic website is that through GitHub

---

<div class="post-metadata">

**Author:** ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)\
**Post date:** [February 25, 2025, 6:13pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/8 "2025-02-25T18:13:57Z")

</div>

Then please open a issue in Github, but maybe you could try it with the newest version 5.2.3 before?

---

<div class="post-metadata">

**Author:** ![peceunicis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peceunicis/32/13330_2.png) [@peceunicis](https://forum.mautic.org/u/peceunicis)\
**Post date:** [March 12, 2025, 9:28am UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/9 "2025-03-12T09:28:34Z")

</div>

I’m having the same problem with mautic 5.2.3

---

<div class="post-metadata">

**Author:** ![erich78](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/erich78/32/13726_2.png) [@erich78](https://forum.mautic.org/u/erich78)\
**Post date:** [March 13, 2025, 6:16pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/10 "2025-03-13T18:16:00Z")

</div>

Hey there I hope this helps

 ![Screenshot 2025-03-13 111215](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/8/8af14197d9d8711d647d284ba4dc598adb011912.png)  
if you need any further help [e.ham.work.mail.20.24@gmail.com](mailto:e.ham.work.mail.20.24@gmail.com)

---

<div class="post-metadata">

**Author:** ![peceunicis](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/peceunicis/32/13330_2.png) [@peceunicis](https://forum.mautic.org/u/peceunicis)\
**Post date:** [April 1, 2025, 8:05pm UTC](https://forum.mautic.org/t/i-can-not-send-a-test-email/35086/11 "2025-04-01T20:05:36Z")

</div>

When I click on send test mail it is working, however it does not work via form cation, campaigns, and nothing.  
I can not figure out what might be the issue. Now even upgraded to 6 version, still the same.

Any help will be appreciated.

Cheers.
