PendingMail
class PendingMail
Traits
Properties
| protected string|null | $locale | The locale of the message. |
|
| protected mixed | $to | The "to" recipients of the message. |
|
| protected mixed | $cc | The "cc" recipients of the message. |
|
| protected mixed | $bcc | The "bcc" recipients of the message. |
Methods
Apply the callback if the given "value" is (or resolves to) truthy.
Apply the callback if the given "value" is (or resolves to) falsy.
Set the locale of the message.
Set the recipients of the message.
Set the recipients of the message.
Set the recipients of the message.
Deliver the queued message after (n) seconds.
Details
in
Conditionable at line 23
mixed
when(mixed $value = null, callable|null $callback = null, callable|null $default = null)
Apply the callback if the given "value" is (or resolves to) truthy.
in
Conditionable at line 56
mixed
unless(mixed $value = null, callable|null $callback = null, callable|null $default = null)
Apply the callback if the given "value" is (or resolves to) falsy.
at line 41
__construct(Mailer $mailer)
Create a new mailable mailer instance.
at line 49
PendingMail
locale(string $locale)
Set the locale of the message.
at line 59
PendingMail
to(mixed $users)
Set the recipients of the message.
at line 73
PendingMail
cc(mixed $users)
Set the recipients of the message.
at line 83
PendingMail
bcc(mixed $users)
Set the recipients of the message.
at line 93
SentMessage|null
send(Mailable $mailable)
Send a new mailable message instance.
at line 101
SentMessage|null
sendNow(Mailable $mailable)
Send a new mailable message instance synchronously.
at line 109
mixed
queue(Mailable $mailable)
Push the given mailable onto the queue.
at line 120
mixed
later(DateInterval|DateTimeInterface|int $delay, Mailable $mailable)
Deliver the queued message after (n) seconds.