The RSVP form in the Events section sends submissions using EmailJS.
- Copy
.env.exampleto.env. - Fill in your EmailJS values:
VITE_EMAILJS_PUBLIC_KEYVITE_EMAILJS_SERVICE_IDVITE_EMAILJS_RSVP_TEMPLATE_ID(or reuseVITE_EMAILJS_TEMPLATE_ID)VITE_RSVP_RECIPIENT_EMAIL(the email that receives RSVP submissions)
- Restart the dev server after updating
.env.
Template params sent by the RSVP form include:
to_emailfrom_namefrom_emailsubjectmessagefirst_namelast_namephoneguest_countnotesevent_nameevent_dateevent_location