To ensure an email is being sent, at the end of line 161 of your confirm page press enter and add this line of code:
die('sending email');
This will tell us if we are actually sending an email or the page is being redirected before sending the email
Please post back with the results to further assist you.