This commit is contained in:
the-djmaze 2023-01-28 00:47:57 +01:00 committed by GitHub
parent e45959949c
commit f862634143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {