How to validate SPF records with PHP
问题 I'm developing a web mailing app on Codeigniter PHP. I would like to know how to check SPF records are valid with PHP. Is there a PHP API to do this? This is so I can implement SPF within my mailing App to verify a user has authorized our servers via SPF DNS records to send mail. 回答1: Look at the libraries here: http://www.openspf.org/Implementations None are in PHP, but they are in other languages, so if you get stuck creating a validator according to the publish standards, you can see how