class FallbackMailer implements Mailer

Properties

callable[] $onFailure

Methods

__construct(array $mailers, int $retryCount = 3, int $retryWaitTime = 1000)

No description

void
send(Message $mail)

Sends email.

addMailer(Mailer $mailer)

No description

Details

at line 36
__construct(array $mailers, int $retryCount = 3, int $retryWaitTime = 1000)

No description

Parameters

array $mailers
int $retryCount
int $retryWaitTime

in miliseconds

at line 48
void send(Message $mail)

Sends email.

Parameters

Message $mail

Return Value

void

Exceptions

FallbackMailerException

at line 79
FallbackMailer addMailer(Mailer $mailer)

No description

Parameters

Mailer $mailer

Return Value

FallbackMailer

Traits

Strict class for better experience.