mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
fix empty SMTP check
This commit is contained in:
1 parent
8d106a39b0
commit
d493be0efb
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user