Dear @demo_test
we’ve just checked it our end and we got confirmed that at the code, there is no error to send an email if work SMTP correctly.
Please see below image that we’ve checked forgot the password.

Have you checked your SMTP credential? You can get it from sendgrid or AmazonSES
Best regards