Net::SenderBase - Query the senderbase service


Net-SenderBase documentation Contained in the Net-SenderBase distribution.

Index


Code Index:

NAME

Top

Net::SenderBase - Query the senderbase service

SYNOPSIS

Top

  my $query = Net::SenderBase::Query->new(
      Transport => 'http',
      Address => $ip,
  );

  my $results = $query->results();

DESCRIPTION

Top

This module is an interface to the SenderBase query service at http://www.senderbase.org/.

It allows you to query senderbase either via HTTP, or via DNS. The reason you might choose one or the other are:

HTTP

HTTP is blocking, but more firewalls allow HTTP queries than allow DNS queries

DNS

DNS queries can be "fired off" early in a script and the results collected later. This means your query won't block other subsystems in your program.

Both http and dns queries will return a Net::SenderBase::Results object.

SEE ALSO

Top

Net::SenderBase::Query

Net::SenderBase::Results

LICENSE

Top

This is free software. You may use it and distribute it under the same terms as Perl itself.

AUTHOR

Top

Matt Sergeant, <msergeant@messagelabs.com>.

Copyright 2003 MessageLabs Ltd.

Net::SenderBase::Results

Top

This module wraps up the results of a senderbase query in an easy to use API. The only way to construct one of these objects is to make a senderbase query and get the results. This object is entirely read only.

version_number


Net-SenderBase documentation Contained in the Net-SenderBase distribution.
# $Id: SenderBase.pm,v 1.3 2003/07/21 16:13:00 matt Exp $

package Net::SenderBase;
use strict;

use Net::SenderBase::Query;

# Nothing to do in base module except set the version number...

use vars qw($VERSION);
$VERSION = '1.01';

1;
__END__