mailpit-api - v1.5.3
    Preparing search index...

    Interface MailpitSpamAssassinResponse

    Response from the spamAssassinCheck() API containing containing SpamAssassin check results.

    interface MailpitSpamAssassinResponse {
        Error: string;
        IsSpam: boolean;
        Rules: { Description: string; Name: string; Score: number }[];
        Score: number;
    }
    Index

    Properties

    Properties

    Error: string

    If populated will return an error string

    IsSpam: boolean

    Whether the message is spam or not

    Rules: { Description: string; Name: string; Score: number }[]

    Spam rules triggered

    Type declaration

    • Description: string

      SpamAssassin rule description

    • Name: string

      SpamAssassin rule name

    • Score: number

      Spam rule score

    Score: number

    Total spam score based on triggered rules