...
|
...
|
@@ -67,11 +67,12 @@ class Mail { |
|
|
// 是否初始成功
|
|
|
$this->client->login($host['host'].':'.$host['port'],$this->username,$this->password);
|
|
|
}catch (\Throwable $e){
|
|
|
if($pass_err && $e->getCode() == 403){
|
|
|
if($pass_err){
|
|
|
// 是否是密码错误
|
|
|
foreach ([
|
|
|
'NO [ALERT] Invalid credentials (Failure)',
|
|
|
'NO LOGIN Login error'
|
|
|
'NO LOGIN Login error',
|
|
|
'NO Login fail. Password is incorrect or service is not open.'
|
|
|
] as $em){
|
|
|
if(str_contains($e->getMessage(), $em)){
|
|
|
db()->update(
|
...
|
...
|
|