mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
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'];
|
$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.');
|
Console::info('Skipped mail processing. No SMTP configuration has been set.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue