interface Mailable

Methods

send(Factory|Mailer $mailer)

Send the message using the given mailer.

mixed
queue(Factory $queue)

Queue the given message.

mixed
later(DateInterval|DateTimeInterface|int $delay, Factory $queue)

Deliver the queued message after (n) seconds.

cc(array|object|string $address, string|null $name = null)

Set the recipients of the message.

bcc(array|object|string $address, string|null $name = null)

Set the recipients of the message.

to(array|object|string $address, string|null $name = null)

Set the recipients of the message.

locale(string $locale)

Set the locale of the message.

mailer(string|null $mailer)

Set the name of the mailer that should be used to send the message.

Details

at line 17
SentMessage|null send(Factory|Mailer $mailer)

Send the message using the given mailer.

Parameters

Factory|Mailer $mailer

Return Value

SentMessage|null

at line 22
mixed queue(Factory $queue)

Queue the given message.

Parameters

Factory $queue

Return Value

mixed

at line 27
mixed later(DateInterval|DateTimeInterface|int $delay, Factory $queue)

Deliver the queued message after (n) seconds.

Parameters

DateInterval|DateTimeInterface|int $delay
Factory $queue

Return Value

mixed

at line 32
Mailable cc(array|object|string $address, string|null $name = null)

Set the recipients of the message.

Parameters

array|object|string $address
string|null $name

Return Value

Mailable

at line 37
Mailable bcc(array|object|string $address, string|null $name = null)

Set the recipients of the message.

Parameters

array|object|string $address
string|null $name

Return Value

Mailable

at line 42
Mailable to(array|object|string $address, string|null $name = null)

Set the recipients of the message.

Parameters

array|object|string $address
string|null $name

Return Value

Mailable

at line 47
Mailable locale(string $locale)

Set the locale of the message.

Parameters

string $locale

Return Value

Mailable

at line 52
Mailable mailer(string|null $mailer)

Set the name of the mailer that should be used to send the message.

Parameters

string|null $mailer

Return Value

Mailable