public function MailerInterface::send in Backup and Migrate 8.4
Parameters
string|array $to: An RFC 2822 formatted to string or an array of them.
string $subject: The subject of the email to be sent.
string $body: The body of the message being sent.
array $replacements: An array of string replacements for both the body and the subject.
array $additional_headers: Additional headers to be added to the email if any.
Return value
mixed
1 method overrides MailerInterface::send()
- Mailer::send in lib/
backup_migrate_core/ src/ Service/ Mailer.php
File
- lib/
backup_migrate_core/ src/ Service/ MailerInterface.php, line 25
Class
- MailerInterface
- Interface MailSenderInterface.
Namespace
BackupMigrate\Core\ServiceCode
public function send($to, $subject, $body, $replacements = [], $additional_headers = []);