function mail_send($recipients, $headers, $body)
{
// XXX: use Mail_Queue... maybe
function mail_send($recipients, $headers, $body)
{
// XXX: use Mail_Queue... maybe
function mail_notify_from()
{
$notifyfrom = common_config('mail', 'notifyfrom');
function mail_notify_from()
{
$notifyfrom = common_config('mail', 'notifyfrom');
function mail_to_user(&$user, $subject, $body, $headers=array(), $address=null)
{
if (!$address) {
function mail_to_user(&$user, $subject, $body, $headers=array(), $address=null)
{
if (!$address) {
-
-function mail_confirm_address($user, $code, $nickname, $address)
+function mail_confirm_address($user, $code, $nickname, $address, $url=null)
"Thanks for your time, \n%2\$s\n"),
$nickname,
common_config('site', 'name'),
"Thanks for your time, \n%2\$s\n"),
$nickname,
common_config('site', 'name'),
$headers = array();
return mail_to_user($user, $subject, $body, $headers, $address);
$headers = array();
return mail_to_user($user, $subject, $body, $headers, $address);
function mail_subscribe_notify($listenee, $listener)
{
$other = $listener->getProfile();
function mail_subscribe_notify($listenee, $listener)
{
$other = $listener->getProfile();
function mail_subscribe_notify_profile($listenee, $other)
{
if ($other->hasRight(Right::EMAILONSUBSCRIBE) &&
function mail_subscribe_notify_profile($listenee, $other)
{
if ($other->hasRight(Right::EMAILONSUBSCRIBE) &&
common_switch_locale($to->language);
// TRANS: Subject for 'nudge' notification email.
// TRANS: %s is the nudging user.
common_switch_locale($to->language);
// TRANS: Subject for 'nudge' notification email.
// TRANS: %s is the nudging user.