Registration email doesn't work when registration is successful
Created 7 years ago by lckamal

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

lckamal  —  7 years ago Best Answer

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

ryanthompson  —  7 years 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  —  7 years ago

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

lckamal  —  7 years 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  —  7 years ago

@ryanthompson - any update on this?

lckamal  —  7 years ago Best Answer

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

ryanthompson  —  7 years 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.