0
0
mirror of https://github.com/PHPMailer/PHPMailer.git synced 2024-09-20 01:52:15 +02:00
This commit is contained in:
Mehmet Tolga Avcioglu 2023-01-03 18:03:00 +03:00
parent 3663260209
commit 75991e3e46

View File

@ -971,7 +971,7 @@ class SMTP
public function xclient(array $vars)
{
$xclient_options = "";
foreach($vars as $key => $value) {
foreach ($vars as $key => $value) {
if (in_array($key, ['NAME', 'ADDR', 'PORT', 'PROTO', 'HELO', 'LOGIN', 'DESTADDR', 'DESTPORT'])) {
$xclient_options .= " {$key}={$value}";
}