Skip to content

Contact form help! #394

Answered by widgeter
islamabushula asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @islamabushula

To send messages in AstroWind using EmailJS you must meet the following requirements:

  • Have an EmailJS account
  • Add an email service in EmailJS
  • Create an email template in EmailJS

This tutorial may be useful: https://www.emailjs.com/docs/tutorial/overview/

If you already have the following requirements you can then replace the https://github.com/onwidget/astrowind/blob/main/src/pages/contact.astro file in AstroWind with the following:

---
import Layout from '~/layouts/PageLayout.astro';
import HeroText from '~/components/widgets/HeroText.astro';
import ContactUs from '~/components/widgets/Contact.astro';
import Features2 from '~/components/widgets/Features2.astro';

const

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by prototypa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants