teacherfund / TeacherFund_next

A website to fund teachers discretionary spending because the government sucks at it
https://theteacherfund.com
MIT License
90 stars 87 forks source link

Change contact page to a form #188

Open TDonnally opened 4 years ago

TDonnally commented 4 years ago

I noticed your contact page displays the relevant email in text. I want to create a contact form for this page that can be submitted there as opposed to someone having to leave the site to compose an email. Is there any interest in this feature?

joelwass commented 4 years ago

That'd be great! what method do you have in mind for sending the contents of the form to us?

TDonnally commented 4 years ago

I could send it directly from the front end using EmailJS and then I could PM you the credentials or I could use Nodemailer with the backend. Would either of those work?

joelwass commented 4 years ago

let's try emailJS ! would love to see that

misterbastean commented 3 years ago

Submitted a PR (#203) for this. Used Nodemailer because it doesn't have a fee. Just need to add a couple environmental variables (email username, email password) and update the SMTP settings as needed.