Skip to main content

How to test email spam score

Learn how to test the SpamAssassin score of an email with SMSByrd.

Before you begin

The examples shown below are based on two key assumptions:

  1. That you have already create a basic automated test using our getting started guides.
  2. You have a chosen assertion library that you will use to test the values shown below.

Accessing SpamAssassin results

Allows you to perform a SpamAssassin check against an email. The structure returned matches the spam test object:

//code snippet