More details at: http://www.surbl.org/guidelines
require_once('surblclient.php');
$url_c = new Blacklist("http://test.surbl.org");
if($url_c->spam_check) {
echo "SPAM SPAM!";
}
else {
echo "SAFE!";
}
This is ported from surblclient of Python. If you are looking for a Python SURBL Client: https://github.com/infixfilip/surblclient
PHP Client Library for the surbl.org blacklists
Abhinay Omkar <abhiomkar+nospam@gmail.com>