MailerInterface
in
Tags
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.