From 06cf6f8c80581b4b1e0fded3d632d0357af51ea4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Thu, 18 Feb 2021 11:14:57 +0100 Subject: [PATCH] Add 'name' to the contact form's `Reply-To` Mailbox --- .../files/lib/data/contact/option/ContactOptionAction.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1