Code Duplication    Length = 6-7 lines in 2 locations

manager/includes/controls/phpmailer/PHPMailer.php 2 locations

@@ 1041-1046 (lines=6) @@
1038
            return false;
1039
        }
1040
        if ('Reply-To' != $kind) {
1041
            if (!array_key_exists(strtolower($address), $this->all_recipients)) {
1042
                $this->{$kind}[] = [$address, $name];
1043
                $this->all_recipients[strtolower($address)] = true;
1044
1045
                return true;
1046
            }
1047
        } else {
1048
            if (!array_key_exists(strtolower($address), $this->ReplyTo)) {
1049
                $this->ReplyTo[strtolower($address)] = [$address, $name];
@@ 1047-1053 (lines=7) @@
1044
1045
                return true;
1046
            }
1047
        } else {
1048
            if (!array_key_exists(strtolower($address), $this->ReplyTo)) {
1049
                $this->ReplyTo[strtolower($address)] = [$address, $name];
1050
1051
                return true;
1052
            }
1053
        }
1054
1055
        return false;
1056
    }