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:
@@ -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