Mailer
interface Mailer (View source)
Methods
PendingMail | to(mixed $users) Begin the process of mailing a mailable class instance. | |
PendingMail | bcc(mixed $users) Begin the process of mailing a mailable class instance. | |
void | raw(string $text, mixed $callback) Send a new message with only a raw text part. | |
void | send(Mailable|string|array $view, array $data = [], Closure|string|null $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.
PendingMail bcc(mixed $users)
Begin the process of mailing a mailable class instance.
void raw(string $text, mixed $callback)
Send a new message with only a raw text part.
void send(Mailable|string|array $view, array $data = [], Closure|string|null $callback = null)
Send a new message using a view.
array failures()
Get the array of failed recipients.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Contracts/Mail/Mailer.html