', $txt['mailqueue_stats'], '
- ', $txt['mailqueue_size'], '
- ', $context['mail_queue_size'], '
- ', $txt['mailqueue_oldest'], '
- ', $context['oldest_mail'], '
';
template_show_list('mail_queue');
echo '
';
}
/**
* Template for testing mail send.
*/
function template_mailtest()
{
global $context, $txt, $scripturl;
// The results.
if (!empty($context['result']))
{
if ($context['result'] == 'failure')
$result_txt = sprintf($txt['mailtest_result_failure'], $scripturl . '?action=admin;area=logs;sa=errorlog;desc');
else
$result_txt = $txt['mailtest_result_success'];
echo '