HumHub Documentation (unofficial)

SendEmailResponse extends Result
in package

A unique message ID that you receive when an email is accepted for sending.

Table of Contents

Properties

$awsClient  : AbstractApi|null
$input  : object|null
Input used to build the API request that generate this Result.
$initialized  : bool
$messageId  : string|null
A unique identifier for the message that is generated when the message is accepted.
$prefetchResults  : array<string|int, self>
$response  : Response

Methods

__construct()  : mixed
__destruct()  : mixed
cancel()  : void
getMessageId()  : string|null
info()  : ResponseInterface, status: int}
Returns info on the current request.
resolve()  : bool
Make sure the actual request is executed.
wait()  : iterable<string|int, self>
Make sure all provided requests are executed.
initialize()  : void
populateResult()  : void
registerPrefetch()  : void
unregisterPrefetch()  : void

Properties

$input

Input used to build the API request that generate this Result.

protected object|null $input

$initialized

private bool $initialized = false

$messageId

A unique identifier for the message that is generated when the message is accepted.

private string|null $messageId

It's possible for Amazon SES to accept a message without sending it. For example, this can happen when the message that you're trying to send has an attachment that contains a virus, or when you send a templated email that contains invalid personalization content.

$prefetchResults

private array<string|int, self> $prefetchResults = []

Methods

__construct()

public __construct(Response $response[, AbstractApi|null $awsClient = null ][, object|null $request = null ]) : mixed
Parameters
$response : Response
$awsClient : AbstractApi|null = null
$request : object|null = null

__destruct()

public __destruct() : mixed

cancel()

public final cancel() : void

getMessageId()

public getMessageId() : string|null
Return values
string|null

info()

Returns info on the current request.

public final info() : ResponseInterface, status: int}
Return values
ResponseInterface, status: int}

resolve()

Make sure the actual request is executed.

public final resolve([float|null $timeout = null ]) : bool
Parameters
$timeout : float|null = null

Duration in seconds before aborting. When null wait until the end of execution.

Tags
throws
NetworkException
throws
HttpException
Return values
bool

whether the request is executed or not

wait()

Make sure all provided requests are executed.

public final static wait(array<string|int, self> $results[, float|null $timeout = null ][, bool $downloadBody = false ]) : iterable<string|int, self>

This only work if the http responses are produced by the same HTTP client. See https://symfony.com/doc/current/components/http_client.html#multiplexing-responses.

Parameters
$results : array<string|int, self>
$timeout : float|null = null

Duration in seconds before aborting. When null wait until the end of execution. Using 0 means non-blocking

$downloadBody : bool = false

Wait until receiving the entire response body or only the first bytes

Tags
throws
NetworkException
throws
HttpException
Return values
iterable<string|int, self>

initialize()

protected final initialize() : void

registerPrefetch()

protected final registerPrefetch(self $result) : void
Parameters
$result : self

unregisterPrefetch()

protected final unregisterPrefetch(self $result) : void
Parameters
$result : self

        
On this page

Search results