Currently, the contact form only shows a success message but doesn't actually send emails. The form data is logged to the browser console for testing purposes.
Right now: NOWHERE - The messages are not being sent to any email address or database.
-
Create EmailJS Account
- Go to https://www.emailjs.com/
- Sign up for a free account
-
Set Up Email Service
- Add an email service (Gmail, Outlook, etc.)
- Get your Service ID
-
Create Email Template
- Create a template for contact form emails
- Get your Template ID
-
Get Public Key
- Go to Account settings and get your Public Key
-
Update the Code
- In
contact.html, find the commented EmailJS section (around line 812) - Replace
YOUR_PUBLIC_KEY,YOUR_SERVICE_ID, andYOUR_TEMPLATE_IDwith your actual values - Uncomment the EmailJS code and comment out the temporary solution
- In
-
Create Formspree Account
- Go to https://formspree.io/
- Sign up for a free account
-
Create a Form
- Create a new form and get your form endpoint
-
Update the Form
- Change the form action to your Formspree endpoint:
<form id="contactForm" action="https://formspree.io/f/YOUR_FORM_ID" method="POST">
-
Add netlify attribute to form
<form id="contactForm" netlify>
-
Deploy to Netlify
- Forms will automatically work when deployed to Netlify
- Fill out the contact form
- Open browser Developer Tools (F12)
- Go to Console tab
- Submit the form
- You'll see the form data logged in the console
- Set up EmailJS (easiest and free)
- Configure the email template to include all form fields
- Test the email delivery
- Update the success message to be more specific
For immediate contact while the form is being set up:
- Email: [Add your email here]
- Phone: [Add phone number here]
- WhatsApp: [Add WhatsApp number here]