class Pman_Core_NotifySmtpCheck extends Pman
{
- static $cli_desc = "Check SMTP";
-
- static $cli_opts = array();
-
- function get()
- {
- $this->check();
-
- }
-
function check()
{
$ff = HTML_FlexyFramework::get();
- if(
- empty($ff->Core_Notify) ||
- empty($ff->Core_Notify['routes'])
- ){
- return;
- }
-
$helo = $this->getHelo();
$error = array();
$socket_options = array (
'ssl' => array(
'verify_peer' => false,
- 'verify_peer_name' => false,
- 'allow_self_signed' => true
+ 'verify_peer_name' => false
)
);
}
}
- print_r($error);exit;
+ return $error;
}
function getHelo()