1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-16 12:36:26 +02:00

Removed embedded email header - now managed with mail class.

This commit is contained in:
CaMer0n
2011-05-05 06:05:26 +00:00
parent 5e4c9c4bb9
commit 4b5e9dfc3f

View File

@ -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).'<hr />' : '';
$email_body .= $tp->toEmail($message).$EMAIL_FOOTER;
$email_body = (trim($comments) != '') ? $tp->toEmail($comments).'<hr />' : '';
$email_body .= $tp->toEmail($message);
if (sendemail($email_send, LAN_EMAIL_3.SITENAME,$email_body))
{