Replies: 3 comments
-
Does the React props works in this case? <MyEmail username="Bu Kinoshita" link="https://resend.com" /> and the email looks like const MyEmail = ({ username, link }) => (
<Html>
<Body>
<Container>
<Text>Hi, {username}</Text>
<Text>Please click on <Link href={link}>link</Link> to continue.</Text>
</Container>
</Body>
</Html>
) |
Beta Was this translation helpful? Give feedback.
-
Where do I have to use Note that I'm using FastAPI with Postfix to send messages. Because of tbat I will probably just generate my emails and use the built version of them (because of that I need to use handlebars as I replace them in FastAPI). |
Beta Was this translation helpful? Give feedback.
-
The main idea to use React for emails (apart of dx) is using his template engine. Using handlebars it’s a shoot in your feet. |
Beta Was this translation helpful? Give feedback.
-
Many of us will use handlebars in emails like
It would be cool if react-email would allow to show placeholder data at those places.
My ideas would be:
I know this is quite ambitious, but just wanted to tell you about this idea :D
Beta Was this translation helpful? Give feedback.
All reactions