Bug #88550

EXT:form: It's not possible to set the value for reply-to dynamically

Added by Wolfgang Wagner 2 months ago. Updated about 2 months ago.

Status:
Accepted
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2019-06-13
Due date:
% Done:

0%

TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In the current TYPO3-Master 10.0.0-dev it is not possible to use the value for reply-to from the form input in a form.

Due to the increasingly stringent spam checks by e-mail providers, it should be possible to read the value for reply-to from the form. It should therefore be possible to use the e-mail address that a user enters in the frontend.

At the moment this does not seem to work, when sending the form an error message appears:

Swift_RfcComplianceException
Address in mailbox given [{email-1}] does not comply with RFC 2822, 3.6.2.

Attached you find a screenshot of my form configuration.

2019-06-13_08-53-32.jpg View (76.1 KB) Wolfgang Wagner, 2019-06-13 08:58

History

#1 Updated by Susanne Moog about 2 months ago

  • Status changed from New to Accepted

Research:

\TYPO3\CMS\Form\Domain\Finishers\AbstractFinisher::parseOption uses $this->substituteRuntimeReferences($optionValue, $formRuntime); -> that only substitutes array values, not keys. The email addresses are an associative array where both keys and values might use placeholders.

Also available in: Atom PDF