You are here

public function MailerInterface::send in Backup and Migrate 5.0.x

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 src/Core/Service/Mailer.php

File

src/Core/Service/MailerInterface.php, line 25

Class

MailerInterface
Interface MailSenderInterface.

Namespace

Drupal\backup_migrate\Core\Service

Code

public function send($to, $subject, $body, array $replacements = [], array $additional_headers = []);