class PendingMail (View source)
protected Mailer | $mailer | The mailer instance. | |
protected string | $locale | The locale of the message. | |
protected array | $to | The "to" recipients of the message. | |
protected array | $cc | The "cc" recipients of the message. | |
protected array | $bcc | The "bcc" recipients of the message. |
void | __construct(Mailer $mailer) Create a new mailable mailer instance. | |
$this | locale(string $locale) Set the locale of the message. | |
$this | to(mixed $users) Set the recipients of the message. | |
$this | cc(mixed $users) Set the recipients of the message. | |
$this | bcc(mixed $users) Set the recipients of the message. | |
mixed | send(Mailable $mailable) Send a new mailable message instance. | |
mixed | sendNow(Mailable $mailable) Send a mailable message immediately. | |
mixed | queue(Mailable $mailable) Push the given mailable onto the queue. | |
mixed | later($delay, Mailable $mailable) Deliver the queued message after the given delay. | |
Mailable | fill(Mailable $mailable) Populate the mailable with the addresses. |
Create a new mailable mailer instance.
Set the locale of the message.
Set the recipients of the message.
Set the recipients of the message.
Set the recipients of the message.
Send a new mailable message instance.
Send a mailable message immediately.
Push the given mailable onto the queue.
Deliver the queued message after the given delay.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Mail/PendingMail.html