From 4b5e9dfc3f8d61aa0eb0fdea18f272e80da9934d Mon Sep 17 00:00:00 2001 From: CaMer0n Date: Thu, 5 May 2011 06:05:26 +0000 Subject: [PATCH] Removed embedded email header - now managed with mail class. --- email.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/email.php b/email.php index caa060a7a..6b3f750ec 100644 --- a/email.php +++ b/email.php @@ -155,9 +155,9 @@ if (isset($_POST['emailsubmit'])) { // Load Mail Handler and Email Template. require_once(e_HANDLER.'mail.php'); - $email_body = $EMAIL_HEADER; - $email_body .= (trim($comments) != '') ? $tp->toEmail($comments).'
' : ''; - $email_body .= $tp->toEmail($message).$EMAIL_FOOTER; + + $email_body = (trim($comments) != '') ? $tp->toEmail($comments).'
' : ''; + $email_body .= $tp->toEmail($message); if (sendemail($email_send, LAN_EMAIL_3.SITENAME,$email_body)) {