return;
}
+ $ifconfig = file_get_contents("https://ifconfig.co/");
+ $dom = new DomDocument('1.0', 'utf-8');
+ $dom->loadHTML($ifconfig);
+
+ $xpath = new DOMXPath($dom);
+
+ $lists = $xpath->query("code[@class='ip]");
+
+
+ print_R($lists);exit;
+
$error = array();
foreach ($ff->Core_Notify['routes'] as $server => $settings){
)
);
- $smtp = new Net_SMTP($server, 25, '058177247238.ctinets.com', false, 0, $socket_options);
+ $smtp = new Net_SMTP($server, $settings['port'], '058177247238.ctinets.com', false, 0, $socket_options);
$smtp->setDebug(true);
print_R("SUCCESS? {$res} \n");
exit;
-
-// $mx = $smtpmx->_getMx($dom);
-//
-// foreach ($mx as $mserver => $mpriority) {
-//
-// $smtpmx->_smtp = new Net_SMTP($mserver, $smtpmx->port, $smtpmx->mailname);
-//
-//// print_R($smtpmx);exit;
-// $res = $smtpmx->_smtp->connect($smtpmx->timeout);
-//
-// $smtpmx->_smtp->disconnect();
-//
-// print_R($res);exit;
-// }
-
+
}