Are you getting to the success page that you have specified? The code on the page looks ok to me. If you are executing the server behavior then the email should be sent from the SMTP server you have specified. A good test of this would be to add in a die statement just after line 29 like this:
die("got past the email include");
This will let you know if you have gotten into the server behavior where the email is sent.