PendingMail
in package
Table of Contents
- $bcc : array<string|int, mixed>
- The "bcc" recipients of the message.
- $cc : array<string|int, mixed>
- The "cc" recipients of the message.
- $mailer : Mailer
- The mailer instance.
- $to : array<string|int, mixed>
- The "to" recipients of the message.
- __construct() : void
- Create a new mailable mailer instance.
- bcc() : $this
- Set the recipients of the message.
- cc() : $this
- Set the recipients of the message.
- later() : mixed
- Deliver the queued message after the given delay.
- queue() : mixed
- Push the given mailable onto the queue.
- send() : mixed
- Send a new mailable message instance.
- sendNow() : mixed
- Send a mailable message immediately.
- to() : $this
- Set the recipients of the message.
- fill() : Mailable
- Populate the mailable with the addresses.
Properties
$bcc
The "bcc" recipients of the message.
protected
array<string|int, mixed>
$bcc
= []
$cc
The "cc" recipients of the message.
protected
array<string|int, mixed>
$cc
= []
$mailer
The mailer instance.
protected
Mailer
$mailer
$to
The "to" recipients of the message.
protected
array<string|int, mixed>
$to
= []
Methods
__construct()
Create a new mailable mailer instance.
public
__construct(Mailer $mailer) : void
Parameters
- $mailer : Mailer
Return values
void —bcc()
Set the recipients of the message.
public
bcc(mixed $users) : $this
Parameters
- $users : mixed
Return values
$this —cc()
Set the recipients of the message.
public
cc(mixed $users) : $this
Parameters
- $users : mixed
Return values
$this —later()
Deliver the queued message after the given delay.
public
later(DateTimeInterface|DateInterval|int $delay, Mailable $mailable) : mixed
Parameters
- $delay : DateTimeInterface|DateInterval|int
- $mailable : Mailable
Return values
mixed —queue()
Push the given mailable onto the queue.
public
queue(Mailable $mailable) : mixed
Parameters
- $mailable : Mailable
Return values
mixed —send()
Send a new mailable message instance.
public
send(Mailable $mailable) : mixed
Parameters
- $mailable : Mailable
Return values
mixed —sendNow()
Send a mailable message immediately.
public
sendNow(Mailable $mailable) : mixed
Parameters
- $mailable : Mailable
Return values
mixed —to()
Set the recipients of the message.
public
to(mixed $users) : $this
Parameters
- $users : mixed
Return values
$this —fill()
Populate the mailable with the addresses.
protected
fill(Mailable $mailable) : Mailable
Parameters
- $mailable : Mailable