59 ?
string $bodyHtml =
null,
62 $body = $bodyHtml ? [
'text' => $bodyText,
'html' => $bodyHtml ] : $bodyText;
Represent and format a single name and email address pair for SMTP.
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Collection of static functions for sending mail.
static send( $to, $from, $subject, $body, $options=[])
Send a raw email via SMTP (if $wgSMTP is set) or otherwise via PHP mail().