diff --git a/src/AcornMail.php b/src/AcornMail.php index d0855cf..3745272 100755 --- a/src/AcornMail.php +++ b/src/AcornMail.php @@ -99,9 +99,13 @@ protected function fromAddress(): string */ public function configured(): bool { - return $this->config->get('host') && - $this->config->get('port') && - $this->config->get('username') && - $this->config->get('password'); + if (! $this->app->isProduction()) { + return $this->config->get('host') && $this->config->get('port'); + } + + return $this->config->get('host') + && $this->config->get('port') + && $this->config->get('username') + && $this->config->get('password'); } }