Introduction
This starter kit integrates with Nodemailer for sending emails. You can connect any email provider that supports SMTP with Nodemailer, such as Postmark.
Setup
- In the
.env
file in your project, add your email provider credentials. It should look something like this:
- Note:
EMAIL_TLS
should be eitherno
oryes
.
- To test your email configuration, go to http://localhost:4321/contact, fill in the form, and submit it. Then, check the inbox that you sent the email to and see if your message is there.
Next Steps
🚀 Congratulations, you’ve successfully set up emails! Proceed to the next page to continue with setup.