class SesV2Transport extends AbstractTransport implements Stringable

Methods

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

Create a new SES transport instance.

void
doSend(SentMessage $message)

Send the given message.

array|null
listManagementOptions(SentMessage $message)

Extract the SES list management options, if applicable.

string|null
tenantName(SentMessage $message)

Extract the SES tenant name, 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 22
__construct(SesV2Client $ses, array $options = [])

Create a new SES transport instance.

Parameters

SesV2Client $ses
array $options

at line 34
protected void doSend(SentMessage $message)

Send the given message.

Parameters

SentMessage $message

Return Value

void

Exceptions

TransportException

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

Extract the SES list management options, if applicable.

Parameters

SentMessage $message

Return Value

array|null

at line 117
protected string|null tenantName(SentMessage $message)

Extract the SES tenant name, if applicable.

Parameters

SentMessage $message

Return Value

string|null

at line 134
SesV2Client ses()

Get the Amazon SES V2 client for the SesV2Transport instance.

Return Value

SesV2Client

at line 142
array getOptions()

Get the transmission options being used by the transport.

Return Value

array

at line 153
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 161
string __toString()

Get the string representation of the transport.

Return Value

string