class
Illuminate
/
Mail
/
PendingMail
PendingMail
Uses
Properties
protected
$locale string
The locale of the message.
Default: null
protected
$to array
The "to" recipients of the message.
Default: []
protected
$cc array
The "cc" recipients of the message.
Default: []
protected
$bcc array
The "bcc" recipients of the message.
Default: []
Methods
public
__construct ( Mailer $mailer ) : void
Create a new mailable mailer instance.
Parameters
- $mailer Mailer
public
locale ( $locale ) : $this
Set the locale of the message.
Parameters
- $locale string
public
to ( $users ) : $this
Set the recipients of the message.
Parameters
- $users mixed
public
cc ( $users ) : $this
Set the recipients of the message.
Parameters
- $users mixed
public
bcc ( $users ) : $this
Set the recipients of the message.
Parameters
- $users mixed
public
send ( Mailable $mailable ) : SentMessage |null
Send a new mailable message instance.
Parameters
- $mailable Mailable
public
queue ( Mailable $mailable ) : mixed
Push the given mailable onto the queue.
Parameters
- $mailable Mailable
public
later ( $delay , Mailable $mailable ) : mixed
Deliver the queued message after (n) seconds.
Parameters
- $delay DateTimeInterface |DateInterval |int
- $mailable Mailable