Remove extra sending method check for new users.

mta.method is probably not set yet.

MAILPOET-4929
This commit is contained in:
Oluwaseun Olorunsola
2023-01-24 16:57:18 +01:00
committed by Aschepikov
parent 805804f3d3
commit 10ea5ec55b
2 changed files with 3 additions and 7 deletions

View File

@@ -57,7 +57,7 @@ class DisabledMailFunctionNotice {
$this->settings->set(self::QUEUE_DISABLED_MAIL_FUNCTION_CHECK, false);
}
$sendingMethod = $this->settings->get('mta.method', false);
$sendingMethod = $this->settings->get('mta.method', SettingsController::DEFAULT_SENDING_METHOD);
$isPhpMailSendingMethod = $sendingMethod === Mailer::METHOD_PHPMAIL;
if (!$isPhpMailSendingMethod) {