class SesV2Transport extends AbstractTransport implements Stringable

Methods

__construct(SesV2Client $ses, array $options = [])

Create a new SES transport instance.

void
doSend(SentMessage $message)

No description

array|null
listManagementOptions(SentMessage $message)

Extract the SES list management options, if applicable.

SesV2Client
ses()

Get the Amazon SES V2 client for the SesV2Transport instance.

array
getOptions()

Get the transmission options being used by the transport.

array
setOptions(array $options)

Set the transmission options being used by the transport.

string
__toString()

Get the string representation of the transport.

Details

at line 21
__construct(SesV2Client $ses, array $options = [])

Create a new SES transport instance.

Parameters

SesV2Client $ses
array $options

at line 31
protected void doSend(SentMessage $message)

No description

Parameters

SentMessage $message

Return Value

void

Exceptions

TransportException

at line 89
protected array|null listManagementOptions(SentMessage $message)

Extract the SES list management options, if applicable.

Parameters

SentMessage $message

Return Value

array|null

at line 104
SesV2Client ses()

Get the Amazon SES V2 client for the SesV2Transport instance.

Return Value

SesV2Client

at line 112
array getOptions()

Get the transmission options being used by the transport.

Return Value

array

at line 123
array setOptions(array $options)

Set the transmission options being used by the transport.

Boot-only. Mutates the shared transport's SES send options; per-request use races across coroutines.

Parameters

array $options

Return Value

array

at line 131
string __toString()

Get the string representation of the transport.

Return Value

string