Closed fatcrobat closed 6 years ago
Current implementation of Email::sendTo() does not give you any chance to modify the Bouce-Mail returnPath. It would be great if you can provide an public setter and getter to modify a new property named returnPath.
Email::sendTo()
returnPath
https://github.com/contao/core/blob/4539b50fd849dda41c58cdf0da2230dffd909c94/system/modules/core/library/Contao/Email.php#L494
sentTo could be changed to:
sentTo
$this->objMessage->setReturnPath($this->strReturnPath?:$this->strSender);
See contao/core-bundle#1543.
Contao 3 is in the "security fixes only" phase of the long term support phases, so we will not add new features or fix non-security bugs anymore.
Current implementation of
Email::sendTo()
does not give you any chance to modify the Bouce-Mail returnPath. It would be great if you can provide an public setter and getter to modify a new property namedreturnPath
.https://github.com/contao/core/blob/4539b50fd849dda41c58cdf0da2230dffd909c94/system/modules/core/library/Contao/Email.php#L494
sentTo
could be changed to: