fix empty SMTP check
This commit is contained in:
parent
8d106a39b0
commit
d493be0efb
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue