interface Mailer (View source)

Methods

to(mixed $users)

Begin the process of mailing a mailable class instance.

bcc(mixed $users)

Begin the process of mailing a mailable class instance.

void
raw(string $text, mixed $callback)

Send a new message when only a raw text part.

void
send(string|array|Mailable $view, array $data = [], Closure|string $callback = null)

Send a new message using a view.

array
failures()

Get the array of failed recipients.

Details

PendingMail to(mixed $users)

Begin the process of mailing a mailable class instance.

Parameters

mixed $users

Return Value

PendingMail

PendingMail bcc(mixed $users)

Begin the process of mailing a mailable class instance.

Parameters

mixed $users

Return Value

PendingMail

void raw(string $text, mixed $callback)

Send a new message when only a raw text part.

Parameters

string $text
mixed $callback

Return Value

void

void send(string|array|Mailable $view, array $data = [], Closure|string $callback = null)

Send a new message using a view.

Parameters

string|array|Mailable $view
array $data
Closure|string $callback

Return Value

void

array failures()

Get the array of failed recipients.

Return Value

array