This commit is contained in:
parent
9062106dce
commit
145bc314c1
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue