i don't see an obvious problem.
add the following code near the closing </body> tag to write the session contents:
<pre><?php var_dump($_SESSION); ?></pre>
the session will contain the status of handing the email to the SMTP server
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.