Mailer
in
Table of Contents
- bcc() : PendingMail
- Begin the process of mailing a mailable class instance.
- failures() : array<string|int, mixed>
- Get the array of failed recipients.
- raw() : void
- Send a new message when only a raw text part.
- send() : void
- Send a new message using a view.
- to() : PendingMail
- Begin the process of mailing a mailable class instance.
Methods
bcc()
Begin the process of mailing a mailable class instance.
public
bcc(mixed $users) : PendingMail
Parameters
- $users : mixed
Return values
PendingMail —failures()
Get the array of failed recipients.
public
failures() : array<string|int, mixed>
Return values
array<string|int, mixed> —raw()
Send a new message when only a raw text part.
public
raw(string $text, mixed $callback) : void
Parameters
- $text : string
- $callback : mixed
Return values
void —send()
Send a new message using a view.
public
send(string|array<string|int, mixed>|MailableContract $view[, array<string|int, mixed> $data = [] ][, Closure|string $callback = null ]) : void
Parameters
- $view : string|array<string|int, mixed>|MailableContract
- $data : array<string|int, mixed> = []
- $callback : Closure|string = null
Return values
void —to()
Begin the process of mailing a mailable class instance.
public
to(mixed $users) : PendingMail
Parameters
- $users : mixed