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 34
__construct(array $mailers, int $retryCount = 3, int $retryWaitTime = 1000)

No description

Parameters

array $mailers
int $retryCount
int $retryWaitTime

at line 46
void send(Message $mail)

Sends email.

Parameters

Message $mail

Return Value

void

Exceptions

FallbackMailerException

at line 76
FallbackMailer addMailer(Mailer $mailer)

No description

Parameters

Mailer $mailer

Return Value

FallbackMailer

Traits

Strict class for better experience.