From 17b7c51a84bd70b0f5fd5f03f7e607fde5b32e40 Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Wed, 23 Oct 2024 08:12:33 +0200 Subject: [PATCH] feat: added possibility to use SMTP servers without authentication (#3209) --- phpmyfaq/src/phpMyFAQ/Mail/SMTP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpmyfaq/src/phpMyFAQ/Mail/SMTP.php b/phpmyfaq/src/phpMyFAQ/Mail/SMTP.php index 0c22ec7cb8..6bf6348822 100644 --- a/phpmyfaq/src/phpMyFAQ/Mail/SMTP.php +++ b/phpmyfaq/src/phpMyFAQ/Mail/SMTP.php @@ -34,8 +34,8 @@ class SMTP implements MailUserAgentInterface public function setAuthConfig( string $server, - string $user, - string $password, + string $user = '', + string $password = '', int $port = 25, bool $disableTlsPeerVerification = false ): void {