mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-09 06:28:28 +03:00
change for #884
This commit is contained in:
parent
e45959949c
commit
f862634143
1 changed files with 2 additions and 3 deletions
|
|
@ -778,10 +778,9 @@ trait Messages
|
|||
$oSmtpClient = new \MailSo\Smtp\SmtpClient();
|
||||
$oSmtpClient->SetLogger($this->Logger());
|
||||
|
||||
$bUsePhpMail = false;
|
||||
$oAccount->SmtpConnectAndLogin($this->Plugins(), $oSmtpClient, $this->Config(), $bUsePhpMail);
|
||||
$oAccount->SmtpConnectAndLogin($this->Plugins(), $oSmtpClient);
|
||||
|
||||
if ($bUsePhpMail) {
|
||||
if ($oSmtpClient->Settings->usePhpMail) {
|
||||
if (\MailSo\Base\Utils::FunctionCallable('mail')) {
|
||||
$aToCollection = $oMessage->GetTo();
|
||||
if ($aToCollection && $oFrom) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue