Email Delivery

TheDevSpace can send transactional emails via Resend.

To start, create a new account on Resend.

Navigate to the Domains tab and click the Add Domain button.

Add Domain

It is recommended to register a subdomain specifically for sending emails, such as email.yourdomain.com.

After adding the domain, you will see instruction on setting up DNS records.

Resend DNS

Go to your domain registrar and set up the DNS records accordingly. It might take up to 24 hours for the changes to take effect, but it is safe for you to move forward while waiting.

Go to API Keys and add a new key.

Resend API Key

Copy and save the generated token into the .env file.

AUTH_RESEND_KEY="re_xxxxx"

You will only see the API key once, so make sure you saved it before leaving the page.