Навигация

Активные участники:

Поиск:

 

Создать или найти статью:

 

Просмотр HTML в Email Notification Templates

В файле
system/modules/member/mod.member_register.php
ищем
if ( ! class_exists('EEmail'))
                    
{
                        
require PATH_CORE.'core.email'.EXT;
                    
}
                                
                    $E 
= new EEmail;        
                    
$E->wordwrap true;
                    
$E->mailtype 'plain'
                    
$E->priority '3'

и там, где 'plain' меняем на 'html'

Также изменяем ‘text’ на ‘html’ в файле
system/core/core.email.php
var    $mailtype        "html";                // text/html  Defines email formatting 


Не забываем оформить шаблон писем со всеми присущими элементами, т.е.
<html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<
title>Untitled Document</title>

и так далее 


Категория:Советы

Категории: