SesTransport
class SesTransport extends Transport (View source)
Properties
| array | $plugins | The plug-ins registered with the transport. |
from Transport |
| protected SesClient | $ses | The Amazon SES instance. |
|
| protected array | $options | The Amazon SES transmission options. |
Methods
Register a plug-in with the transport.
Iterate through registered plugins and execute plugins' methods.
Iterate through registered plugins and execute plugins' methods.
Get the number of recipients.
Create a new SES transport instance.
{@inheritdoc}
Get the Amazon SES client for the SesTransport instance.
Get the transmission options being used by the transport.
Set the transmission options being used by the transport.
Details
isStarted()
{@inheritdoc}
start()
{@inheritdoc}
stop()
{@inheritdoc}
ping()
{@inheritdoc}
void
registerPlugin(Swift_Events_EventListener $plugin)
Register a plug-in with the transport.
protected void
beforeSendPerformed(Swift_Mime_SimpleMessage $message)
Iterate through registered plugins and execute plugins' methods.
protected void
sendPerformed(Swift_Mime_SimpleMessage $message)
Iterate through registered plugins and execute plugins' methods.
protected int
numberOfRecipients(Swift_Mime_SimpleMessage $message)
Get the number of recipients.
void
__construct(SesClient $ses, array $options = [])
Create a new SES transport instance.
send(Swift_Mime_SimpleMessage $message, $failedRecipients = null)
{@inheritdoc}
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.