Skip to content

This module provides a simple interface to validate if an IP address is a valid sender for a given email domain.

License

Notifications You must be signed in to change notification settings

pboyd04/spf-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spf-validator

Build Status Dependency Status Maintainability


Installation

This module is installed via npm:

npm install --save spf-validator-dns

Description

This module provides a simple interface to validate if an IP address is a valid sender for a given email domain.

Usage

const SPFValidator = require('spf-validator-dns').SPFValidator;

let validator = new SPFValidator({'domain': 'google.com', 'expandIncludes': true);
validator.validateSender('172.217.9.142').then(function(result){
  console.log(result); //Should be "PASS"
});

About

This module provides a simple interface to validate if an IP address is a valid sender for a given email domain.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published