class UpdatePasswordMailer extends AbstractMailer

Class for generating a message informing the user that their password has been updated.

Methods

__construct(Users $user)

Constructor for AbstractMailer

bool
buildAndSend(string|null $layout = null, array $attachments = [], string|null $layoutPath = null, string|null $templatePath = null, string|null $styles = null, string|null $stylesPath = null)

Common send logic shared by all mailers.

bool
send()

Send the mail

static bool
sendTo(Users $user)

Statically sends E-mail

Details

in AbstractMailer at line 19
__construct(Users $user)

Constructor for AbstractMailer

Parameters

Users $user

in AbstractMailer at line 36
bool buildAndSend(string|null $layout = null, array $attachments = [], string|null $layoutPath = null, string|null $templatePath = null, string|null $styles = null, string|null $stylesPath = null)

Common send logic shared by all mailers.

Parameters

string|null $layout

The layout if it exists.

array $attachments

An array containing information about attachments.

string|null $layoutPath

The path to the layout.

string|null $templatePath

The path to the template.

string|null $styles

Name of stylesheet file.

string|null $stylesPath

The path to the stylesheet.

Return Value

bool

True if successful. Otherwise, we return false.

in AbstractMailer at line 85
bool send()

Send the mail

Return Value

bool

in AbstractMailer at line 95
static bool sendTo(Users $user)

Statically sends E-mail

Parameters

Users $user

The recipient

Return Value

bool