I’ve implemented a password recovery flow with UI Builder. I’m using the “Recover user password” block for this:
This function sends an email based on the template “User requests password recovery”.
How can I send an email based on the template “User requests password recovery by link”, and hopefully use a built-in recovery flow?
Regards,
That’s what I did. But the email has not been sent. Let me verify once more …
Hi Mark,
I’d checked again. The email is not sent if I choose the template “User requests password recovery by link” to be active. I do not see any logged errors. I’m using the function block “Recover user password” within a try-catch block, but no error is catched.
When I choose “send test email” from the template maintenance, the email is sent out and received ok.
Regards,
Do you use your own smtp server or one provided by Backendless?
What is the email address of the user the email should be sent to?
Klaas.kopecz@gmail.com
The email from the recovery template without link works fine … So, smtp settings should be fine
is this for the app Missions
or Evaluation1
?
Check the log file in your app:
You will see a few error messages explaining why the email was not sent
The files are in the logging
directory…
Looks like your SMTP server thinks the messages are spam and blocks them.
Ok. Thanks. I was watching the real time logging window to see error messages …