X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NotifySmtpCheck.php;h=a834e440a21424dbeac2371035cea839a2a6c4ab;hb=b87e6efd46517a94d5cd3124c51e903c7caea9de;hp=976ea3301a2bb644bf5bacb7b4a53622d1de5338;hpb=0e0343ebc9514cf477b2899b46258ae8e5d8e8a7;p=Pman.Core diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index 976ea330..a834e440 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -47,7 +47,7 @@ class Pman_Core_NotifySmtpCheck extends Pman // foreach ($mx as $mserver => $mpriority) { - $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $smtpmx->mailname); + $smtpmx->_smtp = new Net_SMTP($server, $smtpmx->port, $settings['username']); $res = $smtpmx->_smtp->connect($smtpmx->timeout);