This document describes how to get Resend (the Epic Stack email provider) setup.
NOTE: this is an optional step. During development the emails will be logged to the terminal and in production if you haven't set the proper environment variables yet you will get a warning until you set the environment variables.
Create an API Key and set RESEND_API_KEY
in
both prod and staging:
fly secrets set RESEND_API_KEY="re_blAh_blaHBlaHblahBLAhBlAh" --app [YOUR_APP_NAME]
fly secrets set RESEND_API_KEY="re_blAh_blaHBlaHblahBLAhBlAh" --app [YOUR_APP_NAME]-staging
Setup a custom sending domain and then make sure
to update the from
email address in app/utils/email.server.ts
and the
expect(email.from).toBe
in tests/e2e/onboarding.test.ts
to the one you want
your emails to come from.
Edit this page on