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();
'netdns' => false
);
- $smtpmx = new Mail_smtpmx($params);
- $smtpmx->debug = true;
+// $smtpmx = new Mail_smtpmx($params);
+// $smtpmx->debug = true;
- $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, 'edward.roojs');
+ $smtp = new Net_SMTP($server, 25, $dom);
$smtpmx->_smtp->setDebug(true);
}
// $smtpmx->_smtp->disconnect();
-
- print_R($res);exit;
+ print_r("resutlt : {$res} \n");
+ exit;
// $mx = $smtpmx->_getMx($dom);
//