to troubleshoot, turn on error reporting by adding the following code at line 1:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
and write the session contents to the page by adding this code before the closing </body> tag:
<?php var_dump($_SESSION); ?>
the session contents should contain the email status, post that info back please and any errors that may be displayed.