Describe the Bug
As in title, when trying to send an email event with the bare minimum from this guide https://resend.com/docs/send-with-nextjs I get the error
TypeError: this.renderAsync is not a function
at Generator.next (<anonymous>)
Downgrading to the version "resend": "^4.6.0" solved the issue for me.
Link to the code that reproduces this issue
https://github.com/resend/resend-nextjs-app-router-example/tree/main
To Reproduce
Just download the example app and try sending an email: you'll get
TypeError: this.renderAsync is not a function
at Generator.next (<anonymous>)
Expected Behavior
Actually, send the email.
What's your node version? (if relevant)
24