class SesTransport extends AbstractTransport (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}

string
__toString()

Get the string representation of the transport.

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.

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

string __toString()

Get the string representation of the transport.

Return Value

string

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