diff --git a/Mail.php b/Mail1.php index f660720..d68ec3b 100644 --- a/Mail.php +++ b/Mail1.php @@ -117,6 +117,8 @@ class tx_form_System_Postprocessor_Mail { protected function setSubject() { if (isset($this->typoScript['subject'])) { $subject = $this->typoScript['subject']; + } elseif ($this->requestHandler->has($this->typoScript['subjectField'])) { + $subject = $this->requestHandler->get($this->typoScript['subjectField']); } else { $subject = 'Formmail on ' . t3lib_div::getIndpEnv('HTTP_HOST'); }