-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
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
Feature suggestion: Send plain text by default when react email component is provided #451
Comments
I would like work on this issue, if that's okay. |
@Rustix69 go for it! I'd love to see this added to the library. |
@Rustix69 are you working on this? I put together a fix on my end so if you need some help we can pair on this PR. |
@bukinoshita do you think this change makes sense? I have a PR ready that I'm using on my end via patch. |
I believed the plaintext would automatically send too. I only found out it didn't when I went to have a look at an unrelated issue in the Resend dashboard and too a look at the "Insights" tab. I think the fact you wire up the React component to a property called If automatically including the plaintext when sending is not a good idea, for some reason, it would be good to indicate this in the docs or have a way to turn it on with a prop like Otherwise - keep up the good work, Resend peeps! |
I noticed a warning in Resend's insights feature that my nicely styled react emails weren't sending plaintext in addition to the formatted message:
I don't know what gave me this perception, but I assumed that resend would automatically generate a plaintext message when a react-email component was supplied to generate an email message.
My suggestion is that plaintext generation should be the default behavior.
For now, I've accomplished this on my personal site here -
The pattern I'm using for generating plaintext is derived from resend/react-email#320
The text was updated successfully, but these errors were encountered: