Fix recupero informazioni relative all' account smtp
This commit is contained in:
parent
9671499654
commit
095210b730
|
@ -43,11 +43,11 @@ class Mail extends PHPMailer\PHPMailer\PHPMailer
|
||||||
|
|
||||||
$result = MailAccount::get($account);
|
$result = MailAccount::get($account);
|
||||||
|
|
||||||
if (empty($return)) {
|
/*if (empty($return)) {
|
||||||
$result = $accounts->first(function ($item) {
|
$result = $accounts->first(function ($item) {
|
||||||
return !empty($item->predefined);
|
return !empty($item->predefined);
|
||||||
});
|
});
|
||||||
}
|
}*/
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue