Lines Matching refs:mail
45 * Helper function for sending a mail
47 * @param string $subscriber_mail The target mail address
48 * @param string $subject The lang id of the mail subject (without the
50 * @param string $context The context of this mail, eg. page or namespace id
51 * @param string $template The name of the mail template
56 * @param array $headers Additional mail headers in the form 'name' => 'value'
69 $mail = $this->mailer;
70 $mail->bcc($subscriber_mail);
71 $mail->subject($subject);
72 $mail->setBody($text, $trep, $hrep);
74 $mail->from($conf['mailfromnobody']);
77 $mail->setHeader('List-Unsubscribe', '<' . $trep['SUBSCRIBE'] . '>', false);
81 $mail->setHeader($header, $value);
84 return $mail->send();