1
0
Fork 0
mirror of synced 2024-10-01 01:37:56 +13:00

fix empty SMTP check

This commit is contained in:
Damodar Lohani 2023-07-18 07:08:02 +00:00
parent 8d106a39b0
commit d493be0efb

View file

@ -27,7 +27,7 @@ class MailsV1 extends Worker
$smtp = $this->args['smtp'];
if (empty(App::getEnv('_APP_SMTP_HOST'))) {
if (empty($smtp) && empty(App::getEnv('_APP_SMTP_HOST'))) {
Console::info('Skipped mail processing. No SMTP configuration has been set.');
return;
}