When ever I send this message to yahoo, I get a temporary block right after. I only sent it to myself, so no spam reporting done there. # all variables declared before… $mail = new PHPMailer(true); …
Tag: blacklist
How do you access the public Spamhaus DBL service?
The Spamhaus DBL is intended to be used to find domains that have poor reputations of sending spam. According to their documentation you should be able to test that it is working by looking up the host or dig response for ‘dbltest.com.dbl.spamhaus.org’ and it should respond with ‘dbltest.com.dbl.spamhaus.org IN A 127.0.1.2’. However this is what I get: The host results
Remove blacklisted terms from string then eliminate unnecessary spaces
I have an array of blacklisted terms: and I have a string to sanitize: I just want to remove the $arrayBlacklist value if it’s in the $city variable. So, I get $city = “Jakarta Selatan” Answer Sort the array based on string length to avoid overlapping issues using usort. preg_replace each of the string in a case-insensitive manner. Finally, remove