@mxraven/mail - v0.6.0
    Preparing search index...

    Interface AttemptEvent

    One delivery attempt for an accepted message.

    channel names the worker that produced the event. The remaining fields describe that channel's protocol and are absent when they do not apply.

    A rule that chains side-effect actions reports each action it triggers, so a message can produce more than one attempt event. Every attempt carries a correlationId that points at the task_id of the accepted event for the message it stems from, which is how an attempt joins back to its acceptance. A submission listener's attempts usually share the accepted event's taskId as well.

    interface AttemptEvent {
        acceptedAtUtc?: number;
        attempt: number;
        bucketName?: string;
        channel: AttemptChannel;
        correlationId?: string;
        correlationTaskId?: string;
        destinationDomain?: string;
        endpointHost?: string;
        enhancedStatusCode?: string;
        errorCode?: string;
        eventType?: string;
        listenerId: string;
        message?: string;
        messageRef?: string;
        nextRetryAtUtc?: number;
        objectKey?: string;
        occurredAtUtc: number;
        rawTokenTtlSeconds?: number;
        reason?: string;
        remoteHost?: string;
        remoteResponse?: string;
        retryAfterMs?: number;
        signingKeyKid?: string;
        smtpCode?: number;
        sourceIp?: string;
        status: StatusOutcome;
        statusCode?: number;
        storageRef?: string;
        targetUrlHost?: string;
        taskId: string;
        tenantId: string;
        webhookRef?: string;
    }
    Index
    acceptedAtUtc?: number

    The Unix time, in seconds, when mxRaven accepted the message.

    attempt: number

    The delivery attempt number, starting at 1.

    bucketName?: string

    The destination bucket for an s3 attempt.

    The egress worker that produced the attempt.

    correlationId?: string

    The task_id of the accepted event for the message, when one was recorded.

    correlationTaskId?: string

    Links a generated DSN back to its original task.

    destinationDomain?: string

    The recipient domain for an SMTP attempt.

    endpointHost?: string

    The storage endpoint host for an s3 attempt.

    enhancedStatusCode?: string

    The RFC 3463 enhanced status code.

    errorCode?: string

    The storage provider error code, when one was returned.

    eventType?: string

    The producer's event-type marker, when one is set. SMTP attempts omit it.

    listenerId: string

    The source listener.

    message?: string

    The failure description, truncated by the server.

    messageRef?: string

    The mxRaven message reference of the message this attempt belongs to. It joins attempts and acceptance events for the same message, including every recipient a single send fanned out to.

    nextRetryAtUtc?: number

    The Unix time, in seconds, of the next attempt when the attempt will be retried.

    objectKey?: string

    The stored object key for an s3 attempt.

    occurredAtUtc: number

    The Unix time, in seconds, when the attempt was built.

    rawTokenTtlSeconds?: number

    The raw-message token lifetime the webhook attempt used, in seconds.

    reason?: string

    The bounded, machine-readable delivery classification.

    remoteHost?: string

    The remote MTA hostname, when known.

    remoteResponse?: string

    The remote reply text, truncated by the server.

    retryAfterMs?: number

    The webhook retry-after hint, in milliseconds.

    signingKeyKid?: string

    The key ID used to sign the webhook attempt.

    smtpCode?: number

    The remote SMTP reply code.

    sourceIp?: string

    The SMTP egress source address, when known.

    The attempt outcome.

    statusCode?: number

    The storage or webhook HTTP response status.

    storageRef?: string

    The storage integration identifier for an s3 attempt.

    targetUrlHost?: string

    The webhook target host.

    taskId: string

    The delivery task. For a submission listener this equals the accepted event's task_id.

    tenantId: string

    The owning tenant.

    webhookRef?: string

    The webhook endpoint identifier.