Skip to content

Commit

Permalink
feat: Update readme.md - added replyTo parameter (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
krithika0827 authored Sep 20, 2024
1 parent 0d9568b commit c69c13f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Send your first email:
await resend.emails.send({
from: '[email protected]',
to: '[email protected]',
replyTo: '[email protected]',
subject: 'hello world',
text: 'it works!',
});
Expand All @@ -49,6 +50,7 @@ Send an email custom HTML content:
await resend.emails.send({
from: '[email protected]',
to: '[email protected]',
replyTo: '[email protected]',
subject: 'hello world',
html: '<strong>it works!</strong>',
});
Expand Down Expand Up @@ -79,6 +81,7 @@ import EmailTemplate from '../components/EmailTemplate';
await resend.emails.send({
from: '[email protected]',
to: '[email protected]',
replyTo: '[email protected]',
subject: 'hello world',
react: <EmailTemplate firstName="John" product="MyApp" />,
});
Expand Down

0 comments on commit c69c13f

Please sign in to comment.