MailableMailer

MailableMailer

class MailableMailer (View source)

Methods

void __construct(Mailer $mailer)

Create a new mailable mailer instance.

$this to(mixed $users)

Set the recipients of the message.

$this cc(mixed $users)

Set the recipients of the message.

$this bcc(mixed $users)

Set the recipients of the message.

mixed send(Mailable $mailable)

Send a new mailable message instance.

mixed sendNow(Mailable $mailable)

Send a mailable message immediately.

mixed queue(Mailable $mailable)

Push the given mailable onto the queue.

mixed later(DateTime|int $delay, Mailable $mailable)

Deliver the queued message after the given delay.

Details

void __construct(Mailer $mailer)

Create a new mailable mailer instance.

Parameters

Mailer $mailer

Return Value

void

$this to(mixed $users)

Set the recipients of the message.

Parameters

mixed $users

Return Value

$this

$this cc(mixed $users)

Set the recipients of the message.

Parameters

mixed $users

Return Value

$this

$this bcc(mixed $users)

Set the recipients of the message.

Parameters

mixed $users

Return Value

$this

mixed send(Mailable $mailable)

Send a new mailable message instance.

Parameters

Mailable $mailable

Return Value

mixed

mixed sendNow(Mailable $mailable)

Send a mailable message immediately.

Parameters

Mailable $mailable

Return Value

mixed

mixed queue(Mailable $mailable)

Push the given mailable onto the queue.

Parameters

Mailable $mailable

Return Value

mixed

mixed later(DateTime|int $delay, Mailable $mailable)

Deliver the queued message after the given delay.

Parameters

DateTime|int $delay
Mailable $mailable

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Mail/MailableMailer.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部