TeacherFund_next icon indicating copy to clipboard operation
TeacherFund_next copied to clipboard

Change contact page to a form

Open TDonnally opened this issue 4 years ago • 4 comments

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?

TDonnally avatar Nov 05 '20 19:11 TDonnally

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

joelwass avatar Nov 05 '20 23:11 joelwass

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?

TDonnally avatar Nov 06 '20 00:11 TDonnally

let's try emailJS ! would love to see that

joelwass avatar Nov 06 '20 00:11 joelwass

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.

misterbastean avatar May 28 '21 20:05 misterbastean