View Source SPF (mailibex v0.2.1)
Summary
Functions
params:
- sender: sender mail to check
- ip: check authorization for this ip, ip in erlang format so ipv4:{1,1,1,1}, ipv6:{1,1,1,1,1,1,1,1}
- param_list: optional kw parameters :helo and :server_domain, if :spf is given, then the :spf value is used for SPF instead of the sender domain TXT dns record
SPF.check("me@gmail.com",{217,0,3,4}, server_domain: "mta.example.com", helo: "yahoo.fr")