# Email sending no longer works

**URL:** <https://forum.shopware.com/t/email-sending-no-longer-works/106691>\
**Category:** Shopware 6 (English)\
**Created:** [10. März 2025 um 09:50 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691 "2025-03-10T09:50:35Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![matttzu1](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@matttzu1](https://forum.shopware.com/u/matttzu1)\
**Post date:** [10. März 2025 um 09:50 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/1 "2025-03-10T09:50:36Z")

</div>

We upgraded from 6.4 to 6.6 and email sending stopped working.  
We never had anything custom done in that area, always used ‚Local email agent‘ and worked before, works when switching back to 6.4.

Any ideas ?

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [10. März 2025 um 10:38 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/2 "2025-03-10T10:38:51Z")

</div>

The update overrides the .env. Did you add a .env.local and copied the settings?

---

<div class="post-metadata">

**Author:** ![matttzu1](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@matttzu1](https://forum.shopware.com/u/matttzu1)\
**Post date:** [10. März 2025 um 11:21 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/3 "2025-03-10T11:21:08Z")

</div>

I noticed the new MAILER\_DSN and copied that setting and removed old MAILER\_URL setting but still no luck. Then I replaced the new .env on my .env.local and updated APP\_URL, DATABASE\_URL, APP\_SECRET, INSTANCE\_ID and still not working.  
bin/console mailer:test works  
testing email from admin says success, but no email sent and forgot password from frontend not working, no errors, nothing in mail.log

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [10. März 2025 um 12:50 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/4 "2025-03-10T12:50:08Z")

</div>

Maybe you are using the Messenger do send mails but you have no Cronjob set up to be executed?

---

<div class="post-metadata">

**Author:** ![matttzu1](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@matttzu1](https://forum.shopware.com/u/matttzu1)\
**Post date:** [10. März 2025 um 13:12 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/5 "2025-03-10T13:12:09Z")

</div>

Not sure what messenger you are talking about. Didn’t find any cron in shopware documentation, nothing in the email setup documentation and we didn’t need one before for sending emails.  
There is a setting in admin-\>settings-\>mailer Synchronous/Asynchronous mail dispatch, changing it doesn’t work and we kept Synchronous, just like on 6.4 where emails were sent

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [10. März 2025 um 13:16 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/6 "2025-03-10T13:16:02Z")

</div>

> **[Message Queue | Shopware Documentation](https://developer.shopware.com/docs/guides/hosting/infrastructure/message-queue.html)**
>
> Documentation for Shopware developers

But if it is still on synchronous, that should not affect it. Install [the FroshMailer](https://github.com/FriendsOfShopware/FroshPlatformMailArchive) then you can see your emails and possible errors.

---

<div class="post-metadata">

**Author:** ![matttzu1](https://avatars.discourse-cdn.com/v4/letter/m/c37758/32.png) [@matttzu1](https://forum.shopware.com/u/matttzu1)\
**Post date:** [10. März 2025 um 13:28 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/7 "2025-03-10T13:28:27Z")

</div>

Weird, running bin/console messenger:consume async sent the zillion tests I made earlier…I checked this command before, without luck, maybe I stopped it too soon.  
But the mailer setting in admin is set to synchronous, like before, not sure why it needs the consume command.  
Anyways, thanks a lot for the help, if I can’t make it send mails synchronously then I’ll just setup the consumer cron.

---

<div class="post-metadata">

**Author:** ![Web-Labels](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/web-labels/32/25808_2.png) [@Web-Labels](https://forum.shopware.com/u/Web-Labels)\
**Post date:** [17. März 2025 um 20:18 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/8 "2025-03-17T20:18:23Z")

</div>

I’ll bet it’s an old Mail Template - Shopware Change the variable in 6.4 and it kill the order Mails in 6.5 and 6.6

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/2/9/29c7587ba660f00e4995d1743162782e5d6d8653.svg) [@system](https://forum.shopware.com/u/system)\
**Post date:** [16. April 2025 um 20:18 UTC](https://forum.shopware.com/t/email-sending-no-longer-works/106691/9 "2025-04-16T20:18:44Z")

</div>

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.
