Registration email doesn't work when registration is successful

lckamal - 5 months ago

There is some problem with registration email sending. Registration is successful but email doesn't work. Email settings is fine, I have tested other emails and working fine. http://take.ms/7bSI81

Answer

- 5 months ago

Adding handler protected $handler = 'Anomaly\UsersModule\User\Register\RegisterFormHandler'; on My Registerform builder worked.

ryanthompson - 5 months ago

Can you try using the log driver and let me know if it even attempts to send that way at all? Does your setup have a server email defined?

https://github.com/anomalylabs/users-module/blob/master/src/User/Register/Command/HandleEmailRegistration.php

lckamal - 5 months ago

I will try the log. Only registration email was not sent. all other emails are working fine.

lckamal - 5 months ago

No logs showing for registration email. Also I tried with a exit in HandleEmailRegistration.php but it seems that it doesn't attempts to send email.

lckamal - 5 months ago

@ryanthompson - any update on this?

lckamal - 5 months ago

Adding handler protected $handler = 'Anomaly\UsersModule\User\Register\RegisterFormHandler'; on My Registerform builder worked.

ryanthompson - 5 months ago

Sorry for not following up sooner - ANY form you override - you technically change it's location so you will need to do this for any services it depends on sitting next to it.