The database insert code:
<?php
// WA Application Builder Insert
if (isset($_POST["Register"])) // Trigger
{
$WA_connection = $localhost;
$WA_table = "users";
$WA_sessionName = "users_UserID";
$WA_redirectURL = "users_Profile.php";
was set to redirect to the users_Profile.php page before the email was sent. change:
$WA_redirectURL = "users_Profile.php";
to:
$WA_redirectURL = "";