MediaWiki
REL1_41
IEmailer.php
Go to the documentation of this file.
1
<?php
21
namespace
MediaWiki\Mail
;
22
23
use
MailAddress
;
24
use
StatusValue
;
25
32
interface
IEmailer
{
33
52
public
function
send
(
53
$to,
54
MailAddress
$from,
55
string
$subject,
56
string
$bodyText,
57
?
string
$bodyHtml =
null
,
58
array $options = []
59
):
StatusValue
;
60
}
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:32
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 Wed Nov 27 2024 07:24:03 for MediaWiki by
1.10.0