Beignet API reference
    Preparing search index...

    Interface MailDeliveryExpectation

    Expected mail delivery fields used by mail assertion helpers.

    interface MailDeliveryExpectation {
        from?: MailAddress;
        headers?: Record<string, string>;
        html?: string;
        id?: string;
        message?: Partial<NormalizedMailMessage>;
        subject?: string;
        text?: string;
        to?: readonly MailAddress[];
    }
    Index

    Expected sender.

    headers?: Record<string, string>

    Expected message headers.

    html?: string

    Expected HTML body.

    id?: string

    Expected memory delivery ID.

    message?: Partial<NormalizedMailMessage>

    Expected normalized message fields.

    subject?: string

    Expected subject.

    text?: string

    Expected text body.

    to?: readonly MailAddress[]

    Expected recipients.