An on-demand check of recently bounced emails delivered from SparkPost (now MessageBird Email).
This application requires the NodeJS Javascript runtime.
-
Clone the repository, or download the latest release
-
Run
npm install
to get the dependencies -
Copy
configSample.js
toconfig.js
-
Open
config.js
and update thesparkPostApiKey
-
Run
npm start
[
{
"timestamp": "2023-03-24T13:14:25.000Z",
"message_id": "1234abcd5678efgh9012",
"rcpt_to": "[email protected]",
"subject": "Super Important Newsletter",
"bounce_class": "22",
"error_code": "552",
"raw_reason": "552 5.2.2 <[email protected]>: user is over quota"
}
]