mirror of
https://github.com/e107inc/e107.git
synced 2025-07-17 04:51:16 +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.
|
// Load Mail Handler and Email Template.
|
||||||
require_once(e_HANDLER.'mail.php');
|
require_once(e_HANDLER.'mail.php');
|
||||||
$email_body = $EMAIL_HEADER;
|
|
||||||
$email_body .= (trim($comments) != '') ? $tp->toEmail($comments).'<hr />' : '';
|
$email_body = (trim($comments) != '') ? $tp->toEmail($comments).'<hr />' : '';
|
||||||
$email_body .= $tp->toEmail($message).$EMAIL_FOOTER;
|
$email_body .= $tp->toEmail($message);
|
||||||
|
|
||||||
if (sendemail($email_send, LAN_EMAIL_3.SITENAME,$email_body))
|
if (sendemail($email_send, LAN_EMAIL_3.SITENAME,$email_body))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user