Send_password_reset_email not working anymore

For user login we provide to get changed the password if forgotten and it did the job.

anvil.users.send_password_reset_email(self.text_box_email.text)

Now we get an error:
anvil.email.SendFailure: Invalid Addresses (SendFailedException). You have enabled Custom SMTP for email sending - did you configure it correctly? You may need to provide a valid from_address.

Custom SMTP setting is fine:

Can you please check, if there is a bug in send_password_reset_email or what else we could do.

Follow this,

  1. Users service
  2. Configure emails from the users service
    under from_address put your custom email address

Let me know if it works!

3 Likes

Thank you - that did the job. Great.

1 Like

Always happy to help.