I’m looking to implement a ‘Contact Us’ form with Cherrypy and was wondering: Is there a good recipe (or a BSD licensed set of code) that I could use instead of reinventing the wheel?
Ideally, this would be Cherrpy 3.1 compatible.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, I had to look into a solution. This works (ugly, and w/o Javascript validation) — using the smtplib lib. Also, note that I stole Jeff’s captcha for this example. Anyone using this will need to change it.
EDIT: I added validation.