HumHub Documentation (unofficial)

SesHttpTransport extends AbstractHttpTransport
in package

Tags
author

Kevin Verschaeve

Table of Contents

Constants

HOST  = 'email.%region%.amazonaws.com'

Properties

$client  : mixed
$host  : mixed
$port  : mixed
$accessKey  : mixed
$dispatcher  : mixed
$lastSent  : mixed
$logger  : mixed
$rate  : mixed
$region  : mixed
$secretKey  : mixed

Methods

__construct()  : mixed
__toString()  : string
send()  : SentMessage|null
setHost()  : $this
setMaxPerSecond()  : $this
Sets the maximum number of messages to send per second (0 to disable).
setPort()  : $this
doSend()  : void
doSendHttp()  : ResponseInterface
getLogger()  : LoggerInterface
stringifyAddresses()  : array<string|int, string>
checkThrottling()  : mixed
getEndpoint()  : string|null
getSignature()  : string

Constants

Properties

Methods

__construct()

public __construct(string $accessKey, string $secretKey[, string|null $region = null ][, HttpClientInterface|null $client = null ][, EventDispatcherInterface|null $dispatcher = null ][, LoggerInterface|null $logger = null ]) : mixed
Parameters
$accessKey : string
$secretKey : string
$region : string|null = null

Amazon SES region

$client : HttpClientInterface|null = null
$dispatcher : EventDispatcherInterface|null = null
$logger : LoggerInterface|null = null

setHost()

public setHost(string|null $host) : $this
Parameters
$host : string|null
Return values
$this

setMaxPerSecond()

Sets the maximum number of messages to send per second (0 to disable).

public setMaxPerSecond(float $rate) : $this
Parameters
$rate : float
Return values
$this

setPort()

public setPort(int|null $port) : $this
Parameters
$port : int|null
Return values
$this

stringifyAddresses()

protected stringifyAddresses(array<string|int, Address$addresses) : array<string|int, string>
Parameters
$addresses : array<string|int, Address>
Return values
array<string|int, string>

getEndpoint()

private getEndpoint() : string|null
Return values
string|null

getSignature()

private getSignature(string $string) : string
Parameters
$string : string
Return values
string

        
On this page

Search results