Reporting

Spam Testing

Test your email content against major spam filters before sending. PostMTA provides built-in spam scoring and Litmus inbox preview.

Spam Score API

curl -X POST https://api.postmta.com/v1/spam-test -H "Authorization: Bearer pmta_live_xxxx" -H "Content-Type: application/json" -d '{"subject":"Your FREE Gift Card","html":"

CONGRATULATIONS

You have won!

...","from":{"address":"winner@prize.example.com"},"to":[{"address":"test@spamassassin.test"}]}'

Response:

{"spam_score":7.2,"spam_verdict":"FAIL","tests":[{"name":"BAYES_99","score":3.5,"description":"Bayesian filter highly confident spam"},{"name":"URGENT_BODY","score":1.2,"description":"Body contains urgent language"}],"recommendations":["Remove URGENT language from subject line","Add plain-text version alongside HTML"]}

Spam Score Scale

Score RangeVerdictAction
0-2.9PASSSafe to send
3.0-4.9WARNReview recommendations
5.0+FAILFix issues before sending

Inbox Preview (Litmus)

See how your email renders in Gmail, Outlook, Apple Mail, and 90+ other clients:

curl -X POST https://api.postmta.com/v1/spam-test/inbox-preview -H "Authorization: Bearer pmta_live_xxxx" -d '{"template_id":"tpl_welcome_email","test_emails":["gmail","outlook"]}'

Available on Growth and Scale plans. Results in 2-5 minutes.

Pre-Send Checklist