# Signup form email

**URL:** <https://forum.shopware.com/t/signup-form-email/64802>\
**Category:** General Questions (EN)\
**Created:** [18. Februar 2020 um 10:33 UTC](https://forum.shopware.com/t/signup-form-email/64802 "2020-02-18T10:33:24Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [18. Februar 2020 um 10:33 UTC](https://forum.shopware.com/t/signup-form-email/64802/1 "2020-02-18T10:33:24Z")

</div>

Hi  
Sign up form does weird stuff  
If you make up a very fake email throws an error  
Expected response code 354 but got code “554”, with message "554 5.5.1 Error: no valid recipients  
"  
Test email used  
([asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com](mailto:asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com))  
But if you fill the right email (a real existing domain), it works  
Solution for this?

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/a/a8a75a7f690639c5a41809dd3a73366c65b39a91.png)

&nbsp;

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/9/982168d45756fca155931b8d5b112c7b3e93981f.png)

UPDATE

Steps to reproduce:

1. Install production
2. go to the backend and set a valid working SMTP email server provider&nbsp;(My SMTP server is provided by&nbsp;[mittwald.de](http://mittwald.de))
3. Go to frontend try to create an account, fill the form and on the email field paste this&nbsp;&nbsp;“[asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com](mailto:asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com)”
4. Click continue
5. Get error

&nbsp;It seems it has to do with the email provider response “Recipient address rejected: Domain not found”, and SW6 cant handle the response  
&nbsp;(My SMTP server is provided by&nbsp;[mittwald.de](http://mittwald.de))

If you go back to the backend the account is there, the password works, everything on that account is fine.  
Is&nbsp;just SW6 crash on a “Domain not found” SMPT server response

If you create the account with a valid email domain, everything works, no errors and email gets delivered

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [18. Februar 2020 um 11:52 UTC](https://forum.shopware.com/t/signup-form-email/64802/2 "2020-02-18T11:52:06Z")

</div>

Is ist only connected to the dev environment? I think this Exception will be catched in prod. Otherwhise it sounds like a bug to me.&nbsp;

---

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [18. Februar 2020 um 12:14 UTC](https://forum.shopware.com/t/signup-form-email/64802/3 "2020-02-18T12:14:21Z")

</div>

I did try in prod, and it gives an error too, but it does not show

To show the error I changed&nbsp;the `.env`&nbsp;&nbsp;`APP_ENV=prod` -\> `APP_ENV=dev`

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/6/6b8a31fd7ce1d60aa108cbf23a064a891095c473.png)

---

<div class="post-metadata">

**Author:** ![timbrns](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timbrns/32/19740_2.png) [@timbrns](https://forum.shopware.com/u/timbrns)\
**Post date:** [18. Februar 2020 um 13:56 UTC](https://forum.shopware.com/t/signup-form-email/64802/4 "2020-02-18T13:56:21Z")

</div>

Hi Yafar,

just had a look into my SW6.1.1 installation and also into the master branch, did not get the error you mentioned, cause my browser detects the blankspace after&nbsp;the " . "&nbsp;  
Can you double check this if it also happening on a “clean” installation of shopware?

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/b/b7519fd7a437bebc609c37e02caa42a02e67503a.png)

Kind regards,  
Tim

---

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [18. Februar 2020 um 14:05 UTC](https://forum.shopware.com/t/signup-form-email/64802/5 "2020-02-18T14:05:21Z")

</div>

Hi Tim,

The error is not from the space (that was my mistake when pasting it here&nbsp; ![Foot-in-Mouth](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/foot-in-mouth.png "Foot-in-Mouth"))

Try to set up an SMTP server on the backend and create a user with a not&nbsp;exiting email domain

per exmple

[asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com](mailto:asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com)

---

<div class="post-metadata">

**Author:** ![timbrns](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timbrns/32/19740_2.png) [@timbrns](https://forum.shopware.com/u/timbrns)\
**Post date:** [18. Februar 2020 um 14:17 UTC](https://forum.shopware.com/t/signup-form-email/64802/6 "2020-02-18T14:17:59Z")

</div>

Hi Yafar,

I see, did not recognize you were looking at the admin point of view and the smtp server.&nbsp;  
If I add a “random” address like you mentioned before into my smtp settings, the login fails, whatever I type in.&nbsp;  
I guess this just means that shopware tries to send the mail, but this fails so the login fails aswell.&nbsp;  
Should not be a too big thing at the moment, if mailer is correct or you use “disable email delivery (temporarily)”, you are able to login again, however I added a ticket to our issue tracker for this:&nbsp;[https://issues.shopware.com/issues/NEXT-7129](https://issues.shopware.com/issues/NEXT-7129)

Kind regards,  
Tim

---

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [18. Februar 2020 um 14:33 UTC](https://forum.shopware.com/t/signup-form-email/64802/7 "2020-02-18T14:33:37Z")

</div>

Hi @timbrns‍!

Thank you again

But sorry&nbsp;I think you got me wrong (or I did not explain my self clearly ![Foot-in-Mouth](https://forum.shopware.com/plugins/CKEditor/plugins/smiley/images/foot-in-mouth.png "Foot-in-Mouth"))

1. install production
2. go to the backend and set a valid working SMTP email server provider&nbsp;(My SMTP server is provided by&nbsp;[mittwald.de](http://mittwald.de))
3. Go to frontend try to create an account, fill the form and on the email field paste this&nbsp;&nbsp;„[asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com](mailto:asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com)“
4. Click continue
5. Get error

&nbsp;It seems it has to do with the email provider response „Recipient address rejected: Domain not found“, and SW6 cant handle the response  
&nbsp;(My SMTP server is provided by&nbsp;[mittwald.de](http://mittwald.de))

If you go back to the backend the account is there, the password works, everything on that account is fine.  
Is&nbsp;just SW6 crash on a „Domain not found“ SMPT server response

If you create the account with a valid email domain, everything works, no errors and email gets delivered

---

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [18. Februar 2020 um 14:39 UTC](https://forum.shopware.com/t/signup-form-email/64802/8 "2020-02-18T14:39:38Z")

</div>

> [@timbrns schrieb:](https://forum.shopware.com/profile/34185/timbrns "timbrns")
> 
> Hi Yafar,
> 
> I see, did not recognize you were looking at the admin point of view and the smtp server.&nbsp;  
> If I add a „random“ address like you mentioned before into my smtp settings, the login fails, whatever I type in.&nbsp;  
> I guess this just means that shopware tries to send the mail, but this fails so the login fails aswell.&nbsp;  
> Should not be a too big thing at the moment, if mailer is correct or you use „disable email delivery (temporarily)“, you are able to login again, however I added a ticket to our issue tracker for this:&nbsp;[https://issues.shopware.com/issues/NEXT-7129](https://issues.shopware.com/issues/NEXT-7129)
> 
> Kind regards,  
> Tim

This sounds like definitely like a second bug&nbsp;&nbsp; ![Grin](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/70033cde8e8ff79cfa538293ae71318d6f788423.png "Grin")

---

<div class="post-metadata">

**Author:** ![timbrns](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timbrns/32/19740_2.png) [@timbrns](https://forum.shopware.com/u/timbrns)\
**Post date:** [18. Februar 2020 um 14:49 UTC](https://forum.shopware.com/t/signup-form-email/64802/9 "2020-02-18T14:49:55Z")

</div>

Hi @Yafar\_iSi‍

I think I got it now. But this is possibly connected to mitwald rejecting the mailaddress and sending the error back to shopware. In my test environment with “local” smtp server I can register with any email typed in. Might check the mitwald setup, but to be honest, does not look like to much of a bug to me, right?

Kind regards,  
Tim&nbsp;

---

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [18. Februar 2020 um 15:09 UTC](https://forum.shopware.com/t/signup-form-email/64802/10 "2020-02-18T15:09:27Z")

</div>

Hi @timbrns‍,

The&nbsp;bug is that instead of handling the error, it has a&nbsp;crash  
Perhaps is more of an improvement&nbsp;  
It should display a message saying, „Invalid email address,&nbsp; Check the email address and try again“, or something else, instead of throwing an exception

We currently have an old SW5 installation with the same provider (mitwald), and it does handle the response in a more elegant way (not perfect though )…

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/8/8567d89093d5fc6d272006fa90b6af68fd6be164.png)

But in SW6, this is not self-explaining:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/6/6b8a31fd7ce1d60aa108cbf23a064a891095c473.png)

&nbsp;

**A 554 response is normally due to invalid address response,&nbsp;to spam or bad DNS**

&nbsp;

&nbsp;

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/9/982168d45756fca155931b8d5b112c7b3e93981f.png)

---

<div class="post-metadata">

**Author:** ![Yafar\_iSi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/yafar_isi/32/10765_2.png) [@Yafar\_iSi](https://forum.shopware.com/u/Yafar_iSi)\
**Post date:** [18. Februar 2020 um 15:13 UTC](https://forum.shopware.com/t/signup-form-email/64802/11 "2020-02-18T15:13:40Z")

</div>

Perhaps an AJAX request to send the email before accepting the form?&nbsp;

---

<div class="post-metadata">

**Author:** ![timbrns](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/timbrns/32/19740_2.png) [@timbrns](https://forum.shopware.com/u/timbrns)\
**Post date:** [19. Februar 2020 um 06:49 UTC](https://forum.shopware.com/t/signup-form-email/64802/12 "2020-02-19T06:49:19Z")

</div>

Hi @Yafar\_iSi‍,

seems like I am not getting this issue on my test environment.&nbsp;  
Best would be if you could add this issue to&nbsp;[https://issues.shopware.com/](https://issues.shopware.com/)&nbsp;so that our devs can have a deeper look into this for further updates!

Kind regards,  
Tim

---

<div class="post-metadata">

**Author:** ![kohokolivzv](https://avatars.discourse-cdn.com/v4/letter/k/958977/32.png) [@kohokolivzv](https://forum.shopware.com/u/kohokolivzv)\
**Post date:** [16. Mai 2020 um 09:34 UTC](https://forum.shopware.com/t/signup-form-email/64802/13 "2020-05-16T09:34:54Z")

</div>

> [@Yafar\_iSi schrieb:](https://forum.shopware.com/profile/31816/Yafar_iSi "Yafar\_iSi")
> 
> Hi @timbrns‍!
> 
> Thank you again&nbsp;[My Wegmans Connect](https://www.mywegmansconnect.site/)
> 
> But sorry&nbsp;I think you got me wrong (or I did not explain my self clearly ![Foot-in-Mouth](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/bedbc37f276faa6d086ddea9cd70cb0550bbd56e.png "Foot-in-Mouth"))
> 
> 1. install production
> 2. go to the backend and set a valid working SMTP email server provider&nbsp;(My SMTP server is provided by&nbsp;mittwald.de)
> 3. Go to frontend try to create an account, fill the form and on the email field paste this&nbsp;&nbsp;„[asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com](mailto:asdfasdfasdfkljkldsauhiuweqn@iasdfklnhjkaeiuqwoerqcwnqerw.com)“
> 4. Click continue
> 5. Get error
> 
> &nbsp;It seems it has to do with the email provider response „Recipient address rejected: Domain not found“, and SW6 cant handle the response  
> &nbsp;(My SMTP server is provided by&nbsp;mittwald.de)
> 
> If you go back to the backend the account is there, the password works, everything on that account is fine.  
> Is&nbsp;just SW6 crash on a „Domain not found“ SMPT server response
> 
> If you create the account with a valid email domain, everything works, no errors and email gets delivered

Your information is very interesting. Thank you for sharing&nbsp;

---

<div class="post-metadata">

**Author:** ![remboroy25](https://avatars.discourse-cdn.com/v4/letter/r/ea666f/32.png) [@remboroy25](https://forum.shopware.com/u/remboroy25)\
**Post date:** [7. April 2021 um 02:37 UTC](https://forum.shopware.com/t/signup-form-email/64802/14 "2021-04-07T02:37:51Z")

</div>

Great for information  
Thanks for sharing [Mywegmansconnect.club](http://mywegmansconnect.club)
