Project

spf2

0.0
No commit activity in last 3 years
No release in over 3 years
Native libspf2 basic wrapper
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

Spf2

Simple native wrapper over the C lib SPF2. At the moment it just have a query method that returns three strings with result, reason and error:

["pass", "mechanism", "No errors"]

Installation

Add this line to your application's Gemfile:

gem 'spf2'

And then execute:

$ bundle

Or install it yourself as:

$ gem install spf2

Usage

require 'spf2'

s =  Spf2.new(debug=false)
s.debug = true
s.query("173.194.65.27", "gmail.com")

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request