add the following code just before the closing </body> tag to write the session contents.
<pre><?php var_dump($_SESSION); ?></pre>
the session contents will include a status of passing the email to the SMTP server and help in debuting.
one issue i can see already is that you have the to address and the from address set to the same. most SMTP servers will see that as spam and refuse to relay the email.