MediaWiki
REL1_35
IEmailer.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Mail
;
22
23
use Exception;
24
use
MailAddress
;
25
use
MWException
;
26
use
StatusValue
;
27
34
interface
IEmailer
{
35
59
public
function
send
(
60
array $to,
61
MailAddress
$from,
62
string
$subject,
63
string
$bodyText,
64
?
string
$bodyHtml =
null
,
65
array $options = []
66
):
StatusValue
;
67
}
MWException
MediaWiki exception.
Definition
MWException.php:29
MailAddress
Stores a single person's name and email address.
Definition
MailAddress.php:34
StatusValue
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
StatusValue.php:43
MediaWiki\Mail\IEmailer
Interface for sending emails.
Definition
IEmailer.php:34
MediaWiki\Mail\IEmailer\send
send(array $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 Sat Apr 6 2024 00:07:31 for MediaWiki by
1.9.8