Hey, freddy and anybody else wanting to make contact forms. While tovic did a good thing by making this simple form work with some code, you really should be using a professional php solution that is dedicated to nothing but forms and provides security and other features.
I recommend Formmail by https://www.tectite.com/. It does everything and more.