It looks like the email code was added to the wrong place. It should be on the confirm.php page. Can I see a copy of that page? I'll be able to tell you what code to copy and where to paste it once I have both pages.
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.