Skip to content
Corex

EmailAttempt

Corex\Email\Delivery\EmailAttempt · class · Add-ons layer

Immutable, provider-neutral record of a delivery event.

__construct(int $id, string $attemptId, string $requestId, ?string $parentAttemptId, string $recipient, string $subject, ?string $templateSlug, string $state, string $provider, ?string $providerEvent, bool $retryable, DateTimeImmutable $occurredAt, string $source, ?string $recipientHash, string $environment, ?int $templateId, ?int $templateVersion, ?int $routeId, ?string $providerMessageId, ?string $errorCode)

Section titled “__construct(int $id, string $attemptId, string $requestId, ?string $parentAttemptId, string $recipient, string $subject, ?string $templateSlug, string $state, string $provider, ?string $providerEvent, bool $retryable, DateTimeImmutable $occurredAt, string $source, ?string $recipientHash, string $environment, ?int $templateId, ?int $templateVersion, ?int $routeId, ?string $providerMessageId, ?string $errorCode)”

withRecipientEvidence(string $redactedRecipient, string $recipientHash): self

Section titled “withRecipientEvidence(string $redactedRecipient, string $recipientHash): self”