Ask coding questions

← Back to all posts
Does anyone know how to make a form that sends and email on click?
78JonathanForni

I have tried several different ways and cant seem to figure it out.
I want to add a form that does this in the Index.html file.

Voters
78EmmaLaboy
78JonathanForni
Comments
hotnewtop
xxpertHacker

Not quite what you want, but:

78JonathanForni

ok thank you anyways @xxpertHacker

robowolf

You could use Flask to get a response and use smtplib to send an email.

78JonathanForni

ok ty @robowolf

robowolf