if ($mail->send()){
header("Location: https://www.google.com/");
}
if ($mail->send()){
header("Location: https://www.google.com/");
} else {
// show html form
}
if ($mail->send()){
echo 'Thank! Your message has been sent!';
}
// show html form