Universal Email does not go to confirmation page
I have an email form that is able to send emails but it fails to go to my my email confirmation page which is named emailConfirmation.php. Instead of going to my confirmation page it returns to the original page that contains the form.
bfcMail.php --> sends email to recipient --> returns back to bfcMail.php
Below is a piece of the code where it has the gotopage to emailConfirmation.php
<?php
if (!isset($_SESSION))session_start();
if ((isset($_POST["SimpleContact_submit_x"]))) {
//WA Universal Email object="mail"
set_time_limit(0);
$EmailRef = "waue_bfcMail_1";
$BurstSize = 200;
$BurstTime = 1;
$WaitTime = 1;
$GoToPage = "emailConfirmation.php";
$RecipArray = array();
$StartBurst = time();
$LoopCount = 0;
$TotalEmails = 0;
$RecipIndex = 0;