Emails
Get started | Expo Starter
iOS
Web
Android
.env
Preview Email with
terminal
Emails are configured with @react-email library. This library allows you to write emails using React components and then render them to HTML.
Also you can either use the SMTP server, Resend or other email services to send emails.
# Resend API Key
EMAIL_FROM=contact@domain.com
RESEND_API_KEY=your-api-key
# or SMTP credentials
SMTP_HOST=smtp-host
SMTP_PORT=smtp-port
SMTP_SECURE=true
Test Email with Ethereal
The project is also pre-configure to preview email and test them using Ethereal Email.
Preview Email with react-email
Or preview them in your local machine using the following command:
pnpm email:dev