@cfxlabsinc/b2b-services
    Preparing search index...

    Transactional sends through SESv2 SendEmail, on the environment's credentials. A 4xx is EMAIL_SEND_REJECTED: definitely not accepted. A 5xx, timeout, lost response or missing message id is EMAIL_SEND_IN_DOUBT: SES may have accepted it.

    Index
    instance: (...args: []) => SesEmailClient = ...

    The process client, on the ambient region and credentials.

    • Sends one message; every to address sees the others. Returns SES's message ID.

      Parameters

      Returns Promise<
          | { ok: true; value: { messageId: string } }
          | {
              error:
                  | ServiceError<"EMAIL_SEND_REJECTED", { recipient: boolean }>
                  | ServiceError<"EMAIL_SEND_IN_DOUBT">;
              ok: false;
          },
      >