Skip to content

Commit 17b7c51

Browse files
committed
feat: added possibility to use SMTP servers without authentication (#3209)
1 parent 89a5d95 commit 17b7c51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpmyfaq/src/phpMyFAQ/Mail/SMTP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ class SMTP implements MailUserAgentInterface
3434

3535
public function setAuthConfig(
3636
string $server,
37-
string $user,
38-
string $password,
37+
string $user = '',
38+
string $password = '',
3939
int $port = 25,
4040
bool $disableTlsPeerVerification = false
4141
): void {

0 commit comments

Comments
 (0)