{
$ff = HTML_FlexyFramework::get();
+ if(
+ empty($ff->Core_Notify) ||
+ empty($ff->Core_Notify['routes'])
+ ){
+ return;
+ }
+
$helo = $this->getHelo();
$error = array();
$smtp = new Net_SMTP($server, $settings['port'], $helo, false, 0, $socket_options);
- $smtp->setDebug(true);
+// $smtp->setDebug(true);
$res = $smtp->connect(10);
}
}
- return $error;
+ if(!empty($error)){
+ print_r($error);
+ exit;
+ }
+
+ return;
}
function getHelo()