TanStackT
TanStack6mo ago
2 replies
brilliant-orange

Resend with TanStack Start

How can I use resend with tanstack start?
In their docs, they have next js integration

Send email using React
Create an API file under pages/api/send.ts if you’re using the Pages Router or create a route file under app/api/send/route.ts if you’re using the App Router.
Import the React email template and send an email using the react parameter.

With tanstack, do I implement it using api routes or server functions?
Was this page helpful?