diff --git a/common/config/config.php b/common/config/config.php index b45d292..e7b8e2c 100644 --- a/common/config/config.php +++ b/common/config/config.php @@ -63,7 +63,7 @@ return [ 'host' => getenv('SMTP_HOST'), 'username' => getenv('SMTP_USER'), 'password' => getenv('SMTP_PASS'), - 'port' => getenv('SMTP_PORT') ?: 587, + 'port' => (int)(getenv('SMTP_PORT') ?: 587), 'encryption' => getenv('SMTP_ENCRYPTION') ?: 'tls', ], ],