Mailable::cc()

$this cc(object|array|string $address, string|null $name = null) Set the recipients of the message. Parameters object|array|string $address string|null $name Return Value $this

Mailable::bcc()

$this bcc(object|array|string $address, string|null $name = null) Set the recipients of the message. Parameters object|array|string $address string|null $name Return Value $this

Mailable::attachData()

$this attachData(string $data, string $name, array $options = array()) Attach in-memory data as an attachment. Parameters string $data string $name array $options Return Value $this

Mailable::attach()

$this attach(string $file, array $options = array()) Attach a file to the message. Parameters string $file array $options Return Value $this

Mailable

Mailable class Mailable implements Mailable (View source) Methods void send(Mailer $mailer) Send the message using the given mailer. mixed queue(Factory $queue) Queue the message for sending. mixed later(DateTime|int $delay, Factory $queue) Deliver the queued message after the given delay. $this priority(int $level = 3) Set the priority of this message. $this from(object|array|string $address, string|null $name = null) Set the sender of the message. $this to(objec

Mailable

Mailable interface Mailable (View source) Methods void send(Mailer $mailer) Send the message using the given mailer. mixed queue(Factory $queue) Queue the given message. mixed later(DateTime|int $delay, Factory $queue) Deliver the queued message after the given delay.

Mail::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed Exceptions RuntimeException

Mail::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

Mail::spy()

static void spy() Convert the facade into a Mockery spy. Return Value void

Mail::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation