mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +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 = new \MailSo\Smtp\SmtpClient();
|
||||||
$oSmtpClient->SetLogger($this->Logger());
|
$oSmtpClient->SetLogger($this->Logger());
|
||||||
|
|
||||||
$bUsePhpMail = false;
|
$oAccount->SmtpConnectAndLogin($this->Plugins(), $oSmtpClient);
|
||||||
$oAccount->SmtpConnectAndLogin($this->Plugins(), $oSmtpClient, $this->Config(), $bUsePhpMail);
|
|
||||||
|
|
||||||
if ($bUsePhpMail) {
|
if ($oSmtpClient->Settings->usePhpMail) {
|
||||||
if (\MailSo\Base\Utils::FunctionCallable('mail')) {
|
if (\MailSo\Base\Utils::FunctionCallable('mail')) {
|
||||||
$aToCollection = $oMessage->GetTo();
|
$aToCollection = $oMessage->GetTo();
|
||||||
if ($aToCollection && $oFrom) {
|
if ($aToCollection && $oFrom) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue