MediaWiki
master
IEmailer.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Mail
;
22
23
use
MailAddress
;
24
use
StatusValue
;
25
35
interface
IEmailer
{
36
55
public
function
send
(
56
$to,
57
MailAddress
$from,
58
string
$subject,
59
string
$bodyText,
60
?
string
$bodyHtml =
null
,
61
array $options = []
62
):
StatusValue
;
63
}
MailAddress
Represent and format a single name and email address pair for SMTP.
Definition
MailAddress.php:36
StatusValue
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
StatusValue.php:50
MediaWiki\Mail\IEmailer
Interface for sending arbitrary emails.
Definition
IEmailer.php:35
MediaWiki\Mail\IEmailer\send
send( $to, MailAddress $from, string $subject, string $bodyText, ?string $bodyHtml=null, array $options=[])
Sends emails to recipients.
MediaWiki\Mail
Definition
Emailer.php:21
includes
mail
IEmailer.php
Generated on Fri Sep 20 2024 17:24:06 for MediaWiki by
1.10.0