note to @jasonhendriks — it’d be nice if that crazy array $tldTree had a filter on it too so we could add domains as needed without modifying plugin code in the future.
@robdobson — you can directly modify
/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/regDomain.class.php
https://plugins.trac.wordpress.org/browser/postman-smtp/trunk/Postman/Postman-Connectivity-Test/registered-domain-libs-master/PHP/effectiveTLDs.inc.php
Thread Starter
Rob
(@robdobson)
@jb510 Good man! Thank you.
You can also modify /Postman/Postman-Mail/Zend-1.12.10/Validate/Hostname.php. The array of valid TLD’s is in there, you can add the one you want.
Also also, you could go to wp-admin/options-general.php?page=postman%2Fconfiguration, then the Message tab, to “Disable e-mail validation.” This may not be the best route though, because then no email addresses will get validated, which could lead to dogs and cats living together. Mass hysteria! (Or could just lead to emails going out which should have been blocked.)