The contact form on EduShare now uses Formspree for handling form submissions. This is a reliable, third-party service that eliminates the need for backend email configuration.
- URL: https://formspree.io/f/meorgvwn
- Method: POST
- Service: Formspree.io
- Name (
name) - User's full name - Email (
email) - User's email address - Message (
message) - User's message content
- Client-side validation for required fields
- Email format validation using regex
- Real-time error messages for invalid inputs
- Subject Line: "New contact from EduShare website"
- Reply-to: Automatically set to user's email
- CC: Copy sent to support.edushare@gmail.com
- Auto-response: Thank you message sent to user
- Template: Table format for clean email presentation
- Loading state: Button shows "Sending..." during submission
- Success notification: Confirms message was sent
- Form reset: Clears form after successful submission
- Error handling: Shows friendly error messages if something goes wrong
- User fills out and submits the contact form
- Formspree processes the submission
- You receive a formatted email with the user's message
- User receives an auto-response confirmation
- You can reply directly to the user's email address
<form action="https://formspree.io/f/meorgvwn" method="POST">
<input type="text" name="name" required>
<input type="email" name="email" required>
<textarea name="message" required></textarea>
<button type="submit">Send Message</button>
</form>- Async form submission using
fetch()API - JSON response parsing for error handling
- User-friendly notifications using existing notification system
- Form validation before submission
- No Backend Required - Works with static hosting
- Reliable Delivery - Formspree handles email delivery
- Spam Protection - Built-in spam filtering
- Free Tier - 50 submissions/month on free plan
- Easy Setup - No complex email server configuration
- Professional - Clean, formatted emails
The contact form is now fully functional and ready to use:
- Visit the contact section on the website
- Fill out all required fields
- Click "Send Message"
- See success notification
- Check your email for the message
If you need more submissions or advanced features:
- Upgrade Formspree plan for higher limits
- Custom thank you page by modifying the redirect
- Webhook integration for advanced processing
- Analytics tracking for form submission data
The contact form is now production-ready and will work reliably! π