Hi, thank you for uploading this video. This is what I need. But I have one question, I use the router app and I wrote the contact form in app/component/contact.jsx. In the handleSubmit section of the fetch API, does the route I write match the one in your video or does it have to be adjusted to my folder? Thank You.
Hi, I'm happy you found it helpful! If I got you right you just change the folder of your form. So, in this case, you don't need to change the endpoint path inside fetch. Generally, you should use your api/{yourEndpointName}/path.
Hey there! thanks a lot for uploading this tutorial....it's really helpful ❤! I have once question - How can we send email on behalf of one user from our website to another user. for e.g. suppose "user A" schedules a meeting on my website and want to share an invite to "user B" from "userA"'s email address.....how can I achieve that?
Hi, thanks for your comment! As far as I understood from your question userA is able to dynamically write or pick the email of the userB to whom he wants to send a message/book a call. In this case, I suppose you should try Calendly API or similar.
Source code here: github.com/from-dev-to-prod/next-email
*Subscribe* if you like our content!
Hi, thank you for uploading this video. This is what I need.
But I have one question, I use the router app and I wrote the contact form in app/component/contact.jsx. In the handleSubmit section of the fetch API, does the route I write match the one in your video or does it have to be adjusted to my folder?
Thank You.
Hi, I'm happy you found it helpful!
If I got you right you just change the folder of your form. So, in this case, you don't need to change the endpoint path inside fetch.
Generally, you should use your api/{yourEndpointName}/path.
Hey there! thanks a lot for uploading this tutorial....it's really helpful ❤!
I have once question - How can we send email on behalf of one user from our website to another user. for e.g. suppose "user A" schedules a meeting on my website and want to share an invite to "user B" from "userA"'s email address.....how can I achieve that?
Hi, thanks for your comment!
As far as I understood from your question userA is able to dynamically write or pick the email of the userB to whom he wants to send a message/book a call.
In this case, I suppose you should try Calendly API or similar.