SendQueuedMailable

class SendQueuedMailable (View source)

Properties

Mailable $mailable The mailable message instance.
int $tries The number of times the job may be attempted.
int $timeout The number of seconds the job can run before timing out.

Methods

void __construct(Mailable $mailable)

Create a new job instance.

void handle(Mailer $mailer)

Handle the queued job.

string displayName()

Get the display name for the queued job.

void failed(Exception $e)

Call the failed method on the mailable instance.

mixed retryAfter()

Get the retry delay for the mailable object.

void __clone()

Prepare the instance for cloning.

Details

void __construct(Mailable $mailable)

Create a new job instance.

Parameters

Mailable $mailable

Return Value

void

void handle(Mailer $mailer)

Handle the queued job.

Parameters

Mailer $mailer

Return Value

void

string displayName()

Get the display name for the queued job.

Return Value

string

void failed(Exception $e)

Call the failed method on the mailable instance.

Parameters

Exception $e

Return Value

void

mixed retryAfter()

Get the retry delay for the mailable object.

Return Value

mixed

void __clone()

Prepare the instance for cloning.

Return Value

void

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