Node.js
Bun
Learn how to send your first email using Bun and the Resend Node.js SDK.
Prerequisites
To get the most out of this guide, you’ll need to:
1. Install
Get the Resend Node.js SDK.
2. Create an email template
Start by creating your email template on email-template.tsx
.
email-template.tsx
3. Send email using React
Create a new file index.tsx
and send your first email.
index.tsx
Start the local server by running bun index.tsx
and navigate to http://localhost:3000
.
3. Try it yourself
Bun Example
See the full source code.