interface Illuminate / Contracts / Mail / Mailer
You are viewing an older version of the documentation. For the latest, please visit master documentation.

Mailer

Methods

public

to ( $users ) : PendingMail

Begin the process of mailing a mailable class instance.

Parameters

  • $users mixed
public

bcc ( $users ) : PendingMail

Begin the process of mailing a mailable class instance.

Parameters

  • $users mixed
public

raw ( $text , $callback ) : void

Send a new message with only a raw text part.

Parameters

  • $text string
  • $callback mixed
public

send ( $view , array $data , $callback ) : void

Send a new message using a view.

Parameters

public

failures ( ) : array

Get the array of failed recipients.