Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML

Contact form problems

I have found a template of a contact form I am working on. I have figured it out apart from where to place the e-mail of the person that should receive the e-mails that all the users send there e-mails too. I have attached my code below- http://codepen.io/Johned22/pen/vKzAyd Thanks in advance

So what is the problem?

2 Answers

Hi John

I saw your code and it is simple HTML code. To send an email through that kind of form you have to implement PHP code to your script. On Treehouse there is very fine course tutoring by Alina Holigan and during this course you are learning how to implement email sending by PHPMailer Class which is open-source well written PHP Class.

I hope my answer will help you a bit. You can also seek for PHP mail() function on the net.

Cheers

I cant figure out where to place the person who should be receiving the e-mails, e-mail in that code.