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 51
PendingMail
locale(string|null $locale)
Set the locale of the message.
at line 63
PendingMail
to(mixed $users)
Set the recipients of the message.
at line 79
PendingMail
cc(mixed $users)
Set the recipients of the message.
at line 91
PendingMail
bcc(mixed $users)
Set the recipients of the message.
at line 101
SentMessage|null
send(Mailable $mailable)
Send a new mailable message instance.
at line 109
SentMessage|null
sendNow(Mailable $mailable)
Send a new mailable message instance synchronously.
at line 117
mixed
queue(Mailable $mailable)
Push the given mailable onto the queue.
at line 127
mixed
later(DateInterval|DateTimeInterface|int $delay, Mailable $mailable)
Deliver the queued message after (n) seconds.