From 73143577e39d0f1bfaaad9fa0b3900ab8fa9ea46 Mon Sep 17 00:00:00 2001 From: Myron Blair Date: Mon, 15 Jun 2026 18:50:59 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20contact=20form=20500=20=E2=80=94=20use=20?= =?UTF-8?q?sendEmail()=20not=20cybermailSend()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- contact.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contact.php b/contact.php index 42f48e3..88a4dfb 100644 --- a/contact.php +++ b/contact.php @@ -24,8 +24,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { if (empty($message)) $errors['message'] = 'Message cannot be empty.'; if (empty($errors)) { - $body = "Name: {$name}\nEmail: {$email}\nSubject: {$subject}\n\n{$message}"; - cybermailSend('sales@tomsjavajive.com', "Contact Form: {$subject}", $body, $name, $email); + $html = "

Name: {$name}
Email: {$email}
Subject: {$subject}

" . nl2br(htmlspecialchars($message)) . "

"; + sendEmail('sales@tomsjavajive.com', "Contact Form: {$subject}", $html); $sent = true; } }