Skip to content

Python library for SPF, DKIM, and DMARC email protections.

Notifications You must be signed in to change notification settings

ankane/pyemailprotectionslib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyemailprotectionslib

Build Status

This is a simple library designed to assist people with finding email protections.

Usage

The simplest use of this library is to find and process SPF and DMARC records for domains. This is easiest with the SpfRecord.from_domain(domain) and DmarcRecord.from_domain(domain) factory methods.

Example:

import emailprotectionslib.spf as spf
import emailprotectionslib.dmarc as dmarc

spf_record = spf.SpfRecord.from_domain("google.com")
dmarc_record = dmarc.DmarcRecord.from_domain("google.com")

print spf_record.record
print dmarc_record.policy

About

Python library for SPF, DKIM, and DMARC email protections.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%