We’re using AWS Simple Email Service to send our emails from Anvil. Our emails initiated from our end (ex. an order confirmation) are being sent successfully. It looks like Anvil initiated emails (password reset emails) are also trying to use our AWS SES settings and failing with the following error:
SendFailure: 554 Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: Stantt-Wholesale Accounts <accounts@qq4abblxmvtbzrwe.anvil.app>...
. You have enabled Custom SMTP for email sending - did you configure it correctly?
at , line 1
How do we get the Anvil initiated emails to use their own email service or update the from/sending email address/domain? I think either option may resolve the issue. We are using our own domain with our Anvil app.
I’m going to edit the function to specify from_address="no-reply@agaar.mongol.ai" and will report back if it works. But this wouldn’t help for a password reset email using the built in user management.