W3cubDocs

/Laravel 8

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(Factory $factory)

Handle the queued job.

string displayName()

Get the display name for the queued job.

void failed(Throwable $e)

Call the failed method on the mailable instance.

mixed backoff()

Get number of seconds before a released mailable will be available.

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(Factory $factory)

Handle the queued job.

Parameters

Factory $factory

Return Value

void

string displayName()

Get the display name for the queued job.

Return Value

string

void failed(Throwable $e)

Call the failed method on the mailable instance.

Parameters

Throwable $e

Return Value

void

mixed backoff()

Get number of seconds before a released mailable will be available.

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/8.x/Illuminate/Mail/SendQueuedMailable.html