class SesTransport extends AbstractTransport implements Stringable (View source)

Properties

protected SesClient $ses

The Amazon SES instance.

protected array $options

The Amazon SES transmission options.

Methods

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

Create a new SES transport instance.

void
doSend(SentMessage $message)

{@inheritDoc}

array|null
listManagementOptions(SentMessage $message)

Extract the SES list management options, if applicable.

SesClient
ses()

Get the Amazon SES client for the SesTransport 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(SesClient $ses, array $options = [])

Create a new SES transport instance.

Parameters

SesClient $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 management options, if applicable.

Parameters

SentMessage $message

Return Value

array|null

SesClient ses()

Get the Amazon SES client for the SesTransport instance.

Return Value

SesClient

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