MailerInterface

Tags
since
1.1.0

Table of Contents

send()  : bool

Methods

send()

public send(string|array<string|int, mixed> $to, string $subject, string $message[, array<string|int, mixed>|string|null $headers = null ][, array<string|int, mixed>|string $attachments = null ]) : bool
Parameters
$to : string|array<string|int, mixed>

Array or comma-separated list of email addresses to send message.

$subject : string
$message : string
$headers : array<string|int, mixed>|string|null = null

Optional. Additional headers. Null by default.

$attachments : array<string|int, mixed>|string = null

Optional. Files to attach.

Tags
since
1.1.0
Return values
bool

Search results