From 145bc314c1d37b5326fab990c3528d2312c8bb6b Mon Sep 17 00:00:00 2001 From: Drake Panzer Date: Sat, 24 Oct 2020 18:00:20 -0600 Subject: [PATCH] c --- includes/SpecialContact.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SpecialContact.php b/includes/SpecialContact.php index 60a1adb..d444158 100644 --- a/includes/SpecialContact.php +++ b/includes/SpecialContact.php @@ -284,11 +284,11 @@ class SpecialContact extends UnlistedSpecialPage $senderAddress = $contactSender; } else { // Use user submitted details - $senderAddress = new MailAddress($this->getConfig()->get('PasswordSender'), $config['SenderName']); - if ($this->getConfig()->get('UserEmailUseReplyTo')) { + $senderAddress = new MailAddress($fromAddress, $fromName); + // if ($this->getConfig()->get('UserEmailUseReplyTo')) { // Define reply-to address $replyTo = $senderAddress; - } + // } } $subject = $formData['Subject'];