Issue Feature Rejected

#45238Add field recipientEmailField to core extension -> form

Volker Groß 02/07/13, 11:18 updated 02/12/13, 11:49

Description

Extend method setTo() so that it is possible to set the recipient email address from a from-field.

Possible Solution could be:

protected function setTo() {
        if (
            $this->typoScript['recipientEmail'] &&
            t3lib_div::validEmail($this->typoScript['recipientEmail'])
        ) {
            $this->mailMessage->setTo($this->typoScript['recipientEmail']);
        } elseif ($this->requestHandler->has($this->typoScript['recipientEmailField'])) {
            $this->mailMessage->setTo($this->requestHandler->get($this->typoScript['recipientEmailField']));
        }
    }

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.