Mailable
interface Mailable (View source)
Methods
void | send(Factory|Mailer $mailer) Send the message using the given mailer. | |
mixed | queue(Factory $queue) Queue the given message. | |
mixed | later(DateTimeInterface|DateInterval|int $delay, Factory $queue) Deliver the queued message after the given delay. | |
Mailable | cc(object|array|string $address, string|null $name = null) Set the recipients of the message. | |
$this | bcc(object|array|string $address, string|null $name = null) Set the recipients of the message. | |
$this | to(object|array|string $address, string|null $name = null) Set the recipients of the message. | |
$this | locale(string $locale) Set the locale of the message. | |
$this | mailer(string $mailer) Set the name of the mailer that should be used to send the message. |
Details
mixed queue(Factory $queue)
Queue the given message.
mixed later(DateTimeInterface|DateInterval|int $delay, Factory $queue)
Deliver the queued message after the given delay.
Mailable cc(object|array|string $address, string|null $name = null)
Set the recipients of the message.
$this bcc(object|array|string $address, string|null $name = null)
Set the recipients of the message.
$this to(object|array|string $address, string|null $name = null)
Set the recipients of the message.
$this locale(string $locale)
Set the locale of the message.
$this mailer(string $mailer)
Set the name of the mailer that should be used to send the message.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Contracts/Mail/Mailable.html