From: Tim Düsterhus Date: Thu, 18 Feb 2021 10:14:57 +0000 (+0100) Subject: Add 'name' to the contact form's `Reply-To` Mailbox X-Git-Tag: 5.4.0_Alpha_1~257 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06cf6f8c80581b4b1e0fded3d632d0357af51ea4;p=GitHub%2FWoltLab%2FWCF.git Add 'name' to the contact form's `Reply-To` Mailbox --- diff --git a/wcfsetup/install/files/lib/data/contact/option/ContactOptionAction.class.php b/wcfsetup/install/files/lib/data/contact/option/ContactOptionAction.class.php index 10562c2d7c..44f968173f 100644 --- a/wcfsetup/install/files/lib/data/contact/option/ContactOptionAction.class.php +++ b/wcfsetup/install/files/lib/data/contact/option/ContactOptionAction.class.php @@ -123,7 +123,7 @@ class ContactOptionAction extends CustomOptionAction implements ISortableAction ])); // add reply-to tag - $email->setReplyTo(new Mailbox($this->parameters['email'])); + $email->setReplyTo(new Mailbox($this->parameters['email'], $this->parameters['name'])); // send mail $email->send();