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:
@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user