Answer the question
In order to leave comments, you need to log in
Why doesn't system.auth.forgotpasswd send an email with a control string (there is no event in b_event)?
Hello.
Implementing a password recovery form. I'm using the default template.
After submitting the form, I get a message that the code has been sent to the mail, but in fact, not that the letter does not arrive, the event is not even added to b_event.
I tried to use the $USER->SendPassword() method, the same story, the method returns "TYPE" => "OK", but in fact there is no reaction.
What could be the problem? How to debug?
Answer the question
In order to leave comments, you need to log in
In the user profile settings in the administrative part of the site, you must specify the default site and language for receiving notifications. Also, the language must match the language of the template.
The password recovery email is sent using CEvent::SendImmediate , so adding to b_event does not occur.
Maybe your mail is not working at all? check with mail function or some mail event
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question