function get()
{
$this->check();
+ exit;
}
function check()
'verify_peer_name' => false
)
);
-
+ if (empty($settings['port'])) {
+ $settings['port'] = 25;
+ }
$smtp = new Net_SMTP($server, $settings['port'], $helo, false, 0, $socket_options);
// $smtp->setDebug(true);
continue;
}
+ echo "Login As : {$settings['username']}:{$settings['password']} \n";
+
$res = $smtp->auth($settings['username'], $settings['password']);
if (is_a($res, 'PEAR_Error')) {
{
$ifconfig = file_get_contents("https://ifconfig.co/");
$dom = new DomDocument('1.0', 'utf-8');
- $dom->loadHTML($ifconfig);
+ @$dom->loadHTML($ifconfig);
$xpath = new DOMXPath($dom);