MediaWiki
REL1_39
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
57
public
function
send
(
58
$to,
59
MailAddress
$from,
60
string
$subject,
61
string
$bodyText,
62
?
string
$bodyHtml =
null
,
63
array $options = []
64
):
StatusValue
;
65
}
MWException
MediaWiki exception.
Definition
MWException.php:29
MailAddress
Stores a single person's name and email address.
Definition
MailAddress.php:36
StatusValue
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
StatusValue.php:46
MediaWiki\Mail\IEmailer
Interface for sending emails.
Definition
IEmailer.php:34
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 Sun Nov 24 2024 11:23:32 for MediaWiki by
1.10.0