Esempio n. 1
0
		  <li><span class="b"><?php 
echo $num_alumni;
?>
</span> alumni<br /><br /></li>
		  
		  <li><span class="b"><?php 
echo $num_pending_approval;
?>
</span> users pending approval</li>
		  <li><span class="b"><?php 
echo $num_banned;
?>
</span> banned users<br /><br /></li>
		  
		  <li><span class="b"><?php 
echo count(get_bcc_list());
?>
</span> users on mailing list [Mandrill SMTP limit 12000 emails / month, 250 emails / hr.]</li>
		</ul>
	  </td>
	  <td>
		<h4>Tests</h4>
		<ul>
		  <li><span class="b"><?php 
echo $num_tests;
?>
</span> current tests</li>
		  <li><span class="b"><?php 
echo $num_old_tests;
?>
</span> archived tests</li>
Esempio n. 2
0
function send_list_email($subject, $bb_body, $reply_to)
{
    $site_url = get_site_url();
    $stripped_url = str_replace(array('http://www.', 'http://'), '', $site_url);
    return send_email(get_bcc_list(), $subject, $bb_body, $reply_to, NULL, "LHS Math Club\n{$site_url}\nTo unsubscribe from this list, visit [url]{$site_url}/Account/My_Profile[/url]", array('Precedence' => 'bulk', 'List-Id' => "<members.{$stripped_url}>", 'List-Unsubscribe' => "<{$site_url}/Account/My_Profile>, <mailto:webmaster@lhsmath.org>"));
}
Esempio n. 3
0
<?php

require_once '../.lib/functions.php';
restrict_access('A');
?>
<h1>LHSMATH Mailings BCC List</h1>
All Math Team mailing list email addresses:
<textarea style="display:block;width:100%;height:20em;">
<?php 
foreach (get_bcc_list() as $email => $name) {
    echo $email . "\n";
}
?>
</textarea>