This question has been flagged
3 Replies
4522 Views

Hello I have a web store with Odoo and when someone new registers I would like them to receive the Auth Signup email, but it's not being sent. The email server is set up correctly because other emails I send and receive correctly. 

How could I debug this or find out why it doesn't work?

Avatar
Discard
Best Answer

Hello,

Please verify the OdooBot email address... may be it's wrong like odoobot@example.com. Sometimes OdooBot is the sender of the email not Admnistrator.

Best regards!

Avatar
Discard
Author

I changed the email there, but still doesn't work. I don't see anything coming in in the mail server and on the Odoo server I don't see anything in the logs as sending email.

Author Best Answer

I found a bug in the code, if I remove this line then it works:

https://github.com/odoo/odoo/blob/9d0f172f29085a6b164313bf20178270b9572cc2/addons/auth_signup/controllers/main.py#L39

Somehow it doesn't get the token on registration.

Avatar
Discard

You really shouldn't remove that. Its a security measure.

Author

Do you have any other tips to fix this problem?

Author

I tested on another installation and I have the same issue. Do you have any ideas why doesn't work?