Your IP : 3.149.233.108


Current Path : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/mail/
Upload File :
Current File : /home/bitrix/ext_www/klimatlend.ua/bitrix/modules/mail/smtpd.php

<?
$_SERVER['DOCUMENT_ROOT'] = DirName(__FILE__);
$_SERVER['DOCUMENT_ROOT'] = SubStr($_SERVER['DOCUMENT_ROOT'], 0, StrLen($_SERVER['DOCUMENT_ROOT']) - StrLen("/bitrix/modules/mail"));

define('NOT_CHECK_PERMISSIONS', true);
define('BX_BUFFER_USED',false);
define("BX_NO_ACCELERATOR_RESET", true);

ob_start(); //This will prevent warning: cannot modify header information
require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');
ob_end_clean();

if (!CModule::IncludeModule('mail'))
	die('Mail module is not installed');

CSMTPServer::Run();

require($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/epilog_after.php');
?>