本文整理汇总了PHP中mailer::getMailerSend方法的典型用法代码示例。如果您正苦于以下问题:PHP mailer::getMailerSend方法的具体用法?PHP mailer::getMailerSend怎么用?PHP mailer::getMailerSend使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mailer
的用法示例。
在下文中一共展示了mailer::getMailerSend方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: rtrim
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL ^ E_NOTICE);
ini_set('max_execution_time', 0);
ini_set('memory_limit', '512M');
if (!isset($_SERVER['DOCUMENT_ROOT']) || !strlen($_SERVER['DOCUMENT_ROOT'])) {
$_SERVER['DOCUMENT_ROOT'] = rtrim(realpath(pathinfo(__FILE__, PATHINFO_DIRNAME) . '/../../'), '/');
}
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/stdf.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/config.php";
require_once $_SERVER['DOCUMENT_ROOT'] . "/classes/mailer.php";
$mailer = new mailer();
$list = $mailer->getMailerSend();
print_r($list);
示例2: log
<?php
/**
* Обработка новых рассылок.
*/
ini_set('max_execution_time', '0');
ini_set('memory_limit', '512M');
require_once 'classes/config.php';
require_once 'classes/log.php';
require_once 'classes/mailer.php';
$log = new log('massend/massend-trace-' . SERVER . '-%d%m%Y[%H].log', 'w');
$log->writeln('------------ BEGIN hourly_spam (start time: ' . date('d.m.Y H:i:s') . ') -----');
$mailer = new mailer();
$log->TRACE($mailer->digestSend());
$log->TRACE($mailer->getMailerSend());
$log->writeln('------------ END hourly_spam (total time: ' . $log->getTotalTime() . ') ---------------');
示例3: unserialize
}
switch ($gAction) {
case 'preview_only':
$mailer_id = __paramInit('int', 'id');
$message = $mailer->getMailerById($mailer_id);
echo $mailer->getMailContent($message['message']);
exit;
break;
case 'preview':
$mailer_id = __paramInit('int', 'id');
$message = $mailer->getMailerById($mailer_id);
$inner_page = 'tpl.preview.php';
$content = '../content-full-width.php';
break;
case 'send':
$mailer->getMailerSend();
exit;
break;
case 'digest_edit':
require_once $_SERVER['DOCUMENT_ROOT'] . '/classes/Digest/DigestFactory.php';
$id = __paramInit('int', 'id');
$is_edit = true;
if (!$digest) {
$digest = $mailer->getDigestById($id);
}
$rec_emp_count = $digest['count_rec_emp'];
$rec_frl_count = $digest['count_rec_frl'];
if (!$blocks) {
$load_blocks = unserialize($digest['blocks']);
$blocks = new DigestFactory();
$blocks->createBlocks($load_blocks);