Node.js
Hono
Learn how to send your first email using Hono 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 emails/email-template.tsx
.
emails/email-template.tsx
To use JSX/TSX with Hono, we need to modify the tsconfig.json
.
tsconfig.json
3. Send email using React
Create a new file index.tsx
and send your first email.
index.tsx
4. Try it yourself
Hono Example
See the full source code.