Mailer
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 with only a raw text part.
void
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.