class SesV2Transport extends AbstractTransport implements Stringable (View source)

Properties

protected SesV2Client $ses

The Amazon SES V2 instance.

protected array $options

The Amazon SES transmission options.

Methods

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

Create a new SES V2 transport instance.

void
doSend(SentMessage $message)

{@inheritDoc}

array|null
listManagementOptions(SentMessage $message)

Extract the SES list managenent 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

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

Create a new SES V2 transport instance.

Parameters

SesV2Client $ses
array $options

Return Value

void

protected void doSend(SentMessage $message)

{@inheritDoc}

Parameters

SentMessage $message

Return Value

void

protected array|null listManagementOptions(SentMessage $message)

Extract the SES list managenent options, if applicable.

Parameters

SentMessage $message

Return Value

array|null

SesV2Client ses()

Get the Amazon SES V2 client for the SesV2Transport instance.

Return Value

SesV2Client

array getOptions()

Get the transmission options being used by the transport.

Return Value

array

array setOptions(array $options)

Set the transmission options being used by the transport.

Parameters

array $options

Return Value

array

string __toString()

Get the string representation of the transport.

Return Value

string