https://github.com/zeeshandev15/Send-form-data-to-Gmail-via-EmailJS
To send form data to Gmail via EmailJS in React, use react-hook-form for form handling and validation. On form submission, trigger emailjs.sendForm() with your form reference to send the data to an EmailJS service template, which forwards it to Gmail. Reset the form after submission.
https://github.com/zeeshandev15/Send-form-data-to-Gmail-via-EmailJS
nextjs reacthookform typescript zod-validation
Last synced: 8 months ago
JSON representation
To send form data to Gmail via EmailJS in React, use react-hook-form for form handling and validation. On form submission, trigger emailjs.sendForm() with your form reference to send the data to an EmailJS service template, which forwards it to Gmail. Reset the form after submission.
- Host: GitHub
- URL: https://github.com/zeeshandev15/Send-form-data-to-Gmail-via-EmailJS
- Owner: Hi-Dear-486
- Created: 2024-11-28T18:52:32.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-28T19:20:38.000Z (over 1 year ago)
- Last Synced: 2024-12-09T12:17:57.794Z (over 1 year ago)
- Topics: nextjs, reacthookform, typescript, zod-validation
- Language: TypeScript
- Homepage:
- Size: 264 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0