MediaWiki REL1_41
IEmailer.php
Go to the documentation of this file.
1<?php
21namespace MediaWiki\Mail;
22
23use MailAddress;
24use StatusValue;
25
32interface 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}
Stores a single person's name and email address.
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Interface for sending emails.
Definition IEmailer.php:32
send( $to, MailAddress $from, string $subject, string $bodyText, ?string $bodyHtml=null, array $options=[])
Sends emails to recipients.