the redirect is failing due to the blank line at line 11.
The smtp server form your emai probably wont work.
you need to use your web hosts smtp server, you need to contact them to determine what server can be used to send email from a php script.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.