We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resend.emails.send()
render()
Is it enough to use the react property, or do I need to explicitly include html and text properties?
react
html
text
await resend.emails.send({ from: 'Acme <[email protected]>', to: ['[email protected]'], subject: 'hello world', react: EmailTemplate(), }); await resend.emails.send({ from: 'Acme <[email protected]>', to: ['[email protected]'], subject: 'hello world', react: EmailTemplate(), html: EmailTemplateinHTML(), text: EmailTemplateinText(), });
The text was updated successfully, but these errors were encountered:
The react attribute only generates the HTML. We should definitely implement this in the SDK
Sorry, something went wrong.
closing as duplicate of #369, we will work on it 🙏
No branches or pull requests
Is it enough to use the
react
property, or do I need to explicitly includehtml
andtext
properties?The text was updated successfully, but these errors were encountered: