class Illuminate / Mail / PendingMail
You are viewing an older version of the documentation. For the latest, please visit master documentation.

PendingMail

Uses

Properties

protected

$mailer Mailer

The mailer instance.

Default: null
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

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 ) : void

Send a new mailable message instance.

Parameters

public

queue ( Mailable $mailable ) : mixed

Push the given mailable onto the queue.

Parameters

public

later ( $delay , Mailable $mailable ) : mixed

Deliver the queued message after the given delay.

Parameters

protected

fill ( Mailable $mailable ) : Mailable

Populate the mailable with the addresses.

Parameters