# Emails are not sent

**URL:** <https://forum.shopware.com/t/emails-are-not-sent/98016>\
**Category:** Shopware 6 (English)\
**Created:** [15. Januar 2023 um 16:47 UTC](https://forum.shopware.com/t/emails-are-not-sent/98016 "2023-01-15T16:47:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thorsten.niehues](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@thorsten.niehues](https://forum.shopware.com/u/thorsten.niehues)\
**Post date:** [15. Januar 2023 um 16:47 UTC](https://forum.shopware.com/t/emails-are-not-sent/98016/1 "2023-01-15T16:47:17Z")

</div>

I installed and configured Shopware 6.  
I configured Emails under Settings → System → Mailer (URL …/admin#/sw/settings/mailer/index)

Unfortunately Emails are still not sent (e.g. Order confirmation or Contact form)

In var/log/prod-2023-01-15.log is see the following line :

[2023-01-15T16:26:33.140153+00:00] app.ERROR: Could not send mail: Failed sending mail to following recipients: {{ recipients }} with Error: Expected response code „250“ but got c ode „550“, with message „550 5.7.1 Sender mismatch“. Error Code:0 Template data: {„recipients“:{„[thorsten.niehues@posteo.net](mailto:thorsten.niehues@posteo.net)“:"thorsten.niehues@posteo.net"},„senderName“:„{{ sale sChannel.name }}“,„salesChannelId“:„c6aa23ebbf0b48d490237ff19bdb47b3“,„templateId“:„5e09e2c5fdb248da8329b09b16d8b6ef“,„customFields“:null,„contentHtml“:„\<div style="font-family:a rial; font-size:12px;"\>\n

\n The following Message was sent to you via the contact form.\<br/\>\n \<br/\>\n Contact name: {{ contactFormData.firstName }} {{ contactFormData.lastName }}\n \<br/\>\n Contact email address: {{ contactFormData.email }}\n \<br/\>\n Phone: {{ contactFormData.phone }}\<br/\>\n \<br/\>\n Subject: {{ contactFormData.subject }}\<br/\>\n \<br/\>\n Message:\<br/\>\n {{ contactFormData.comment|nl2br }}\<br/\>\n \</p\>\n\</div\>\n“, „contentPlain“:„The following Message was sent to you via the contact form.\n\nContact name: {{ contactFormData.firstName }} {{ contactFormData.lastName }}\nContact email address: {{ contactFormData.email }}\nPhone: {{ contactFormData.phone }}\n\nSubject: {{ contactFormData.subject }}\n\nMessage:\n{{ contactFormData.comment }}\n“,„subject“:„Contact form re ceived - {{ salesChannel.name }}“,„mediaIds“:}

I tried to remove all variables form the template to make sure it is not a template issue … but then I still get the error :

[2023-01-15T16:32:14.098476+00:00] app.ERROR: Could not send mail: Failed sending mail to following recipients: {{ recipients }} with Error: Expected response code „250“ but got c ode „550“, with message „550 5.7.1 Sender mismatch“. Error Code:0 Template data: {„recipients“:{„[thorsten.niehues@posteo.net](mailto:thorsten.niehues@posteo.net)“:"thorsten.niehues@posteo.net"},„senderName“:„PlsUseV ariable“,„salesChannelId“:„c6aa23ebbf0b48d490237ff19bdb47b3“,„templateId“:„5e09e2c5fdb248da8329b09b16d8b6ef“,„customFields“:null,„contentHtml“:„Test Contact Form / Email (HTML)“, „contentPlain“:„Test Contact Form / Email (Plain)“,„subject“:„Contact Request“,„mediaIds“:}

What am I missing ?

---

<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:** [15. Januar 2023 um 18:56 UTC](https://forum.shopware.com/t/emails-are-not-sent/98016/2 "2023-01-15T18:56:55Z")

</div>

> [@thorsten.niehues](#):
>
> 550

> **[SMTP-Error 550: So beheben Sie „Requested action taken: mailbox unavailable“...](https://www.ionos.de/digitalguide/e-mail/e-mail-technik/550-requested-action-not-taken-mailbox-unavailable/)**
>
> Tritt der SMTP-Error 550 auf? Welche Gründe gibt es für dieses Problem? Und wie lässt es sich lösen? Finden Sie es heraus!

Looks like you mail settings are wrong.

---

<div class="post-metadata">

**Author:** ![thorsten.niehues](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@thorsten.niehues](https://forum.shopware.com/u/thorsten.niehues)\
**Post date:** [15. Januar 2023 um 21:01 UTC](https://forum.shopware.com/t/emails-are-not-sent/98016/3 "2023-01-15T21:01:45Z")

</div>

Really - are the settings wrong ??  
The question is how to fix it 😉

---

<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:** [15. Januar 2023 um 22:10 UTC](https://forum.shopware.com/t/emails-are-not-sent/98016/4 "2023-01-15T22:10:08Z")

</div>

Is your shop e-mail the same like in your smtp settings?

---

<div class="post-metadata">

**Author:** ![thorsten.niehues](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@thorsten.niehues](https://forum.shopware.com/u/thorsten.niehues)\
**Post date:** [15. Januar 2023 um 22:13 UTC](https://forum.shopware.com/t/emails-are-not-sent/98016/5 "2023-01-15T22:13:54Z")

</div>

Reason for Issue :

Settings → Basic Information → Shop owner’s email address  
CLI : bin/console system:config:get core.basicInformation.email

Was different from  
Settings → System → Mailer → Sender address

Thx dNeuStadt @ [shopware6 - Shopware 6 unable to sent Email - Stack Overflow](https://stackoverflow.com/a/75127283/993494)

---

<div class="post-metadata">

**Author:** ![thorsten.niehues](https://avatars.discourse-cdn.com/v4/letter/t/ecccb3/32.png) [@thorsten.niehues](https://forum.shopware.com/u/thorsten.niehues)\
**Post date:** [15. Januar 2023 um 22:15 UTC](https://forum.shopware.com/t/emails-are-not-sent/98016/6 "2023-01-15T22:15:33Z")

</div>

No it was not …  
I posted a detailed answer to that other people can fix this too 😉
