$email, 'Reply-To' => $email, 'Content-type' => 'text/html; charset=utf-8']; $bodyParagraphs = ["Name: {$name}", "Email: {$email}", "Message:", $message]; $body = join(PHP_EOL, $bodyParagraphs); if (mail($toEmail, $emailSubject, $body, $headers)) { header('Location: thank-you.html'); } else { $errorMessage = 'Oops, something went wrong. Please try again later'; } } else { $allErrors = join('
', $errors); $errorMessage = "

{$allErrors}

"; } } ?>

We alway here to help you

Address

123 Speer Blvd
Denver, CO 80221

Phone

Phone: 800-555-1212

Contact Form