SpfParser

Parse the Sender Policy Framework (SPF) as defined in the RFC 7208.

Installation

If available in Hex, the package can be installed by adding spf_parser to your list of dependencies in mix.exs:

def deps do
  [
    {:spf_parser, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/spf_parser.

Usage

SpfParser.parse!("v=spf1 include:spf.example.net")