Resend
Mkdirs uses Resend as the email service, supports sending emails, receiving notification emails, and supports subscription functionality.
Configuration
-
Create an account on Resend
If don’t have an account on Resend, follow their steps to signup.
After signin on Resend, following their steps to add your domain to Resend.
-
Get the Resend API key
Click on
API Keys
on the left navigation bar, then click on theCreate API key
button, and set it to the.env
file. -
Set the email address to send the emails from
When sending an email, for example, signup emails, the email will be sent from the following email address:
-
[Optional] Set the email address to receive the notification emails
When there is a new submission from a customer, a notification email will be sent to the following email address:
-
[Optional] Get the audience id for newsletter
Create a new audience in Resend and copy the audience id, then set it to the
.env
file.This variable is used to support newsletter subscription on the website, if you don’t need it, you can skip this step.