PendingMail
class PendingMail (View source)
Properties
protected Mailer | $mailer | The mailer instance. |
|
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. |
Methods
void
$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
later(DateTimeInterface|DateInterval|int $delay, Mailable $mailable)
Deliver the queued message after the given delay.
Details
void
__construct(Mailer $mailer)
Create a new mailable mailer instance.
$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(DateTimeInterface|DateInterval|int $delay, Mailable $mailable)
Deliver the queued message after the given delay.