Resend Email
hey, I'm created an enquiries page for people to send an email to the enquiries email address, I want to send the email from the email address they provided to my enquiries account, is this possible? this is my nextjs API route which is using Resend,
5 Replies
or instead would I just email myself basically?
I would send from
[email protected]
with a reply_to
param of their address. It looks like Resend supports this. https://resend.com/docs/api-reference/emails/send-email
This represents the actual situation clearly: your server is sending this email, not their email provider, but replies should be addressed to their email address.You could also send from
[email protected]
, but apparently it's considered best practice to send transactional emails from an address that accepts incoming mail, even if you mostly don't read itoh thanks, i read through the docs but for some reason didn’t find this page? maybe i’m blind 😬
Took me a second to find it as well. Lots of examples, but the actual API docs aren't obvious 😅