Mailer
in package

Table of Contents

__construct()  : mixed
filterContentType()  : string
Filter email content type.
send()  : bool
Send an email.

Methods

__construct()

public __construct() : mixed
Return values
mixed

filterContentType()

Filter email content type.

public filterContentType(string $contentType) : string
Parameters
$contentType : string
Return values
string

send()

Send an email.

public send(string|array<string|int, mixed> $to, string $subject, string $message[, array<string|int, mixed>|string $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

Optional. Additional headers.

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

Optional. Files to attach.

Return values
bool

success

Search results