-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Hi
I followed this react emailjs tutorial: https://www.emailjs.com/docs/examples/reactjs/
The problem I face is that I should send some order details I get from another component in the webform.
What I did is add "order" as a prop to ContactUs component.
Now I should figure out a way to integrate it in the form or otherwise pass it directly (I already defined "order" in my email template).
I tried this: emailjs.sendForm('gmail', 'vente', {e.target, order:{order}}, 'user_NICP9HhE4kLASsvjN3bdI') but with no success
Thank you for your recommandations.
Metadata
Metadata
Assignees
Labels
No labels