Deprecation: #92435 - StandaloneView for EmailFinisher
See forge#92435
Description
The
Email class of EXT:form was extended for the possibility to use
FluidEmail in TYPO3 v10. Therefore the previously used StandaloneView has now been marked as
deprecated along with the configuration option
template.
Impact
Using the StandaloneView will trigger a PHP
E_ error. Using
template for custom templates will also trigger a
PHP
E_ error.
Affected Installations
All installations not already using FluidEmail for the EXT:form EmailFinisher.
Migration
Adjust your finisher configuration to use FluidEmail by setting
use.
Before:
finishers:
-
identifier: EmailToReceiver
options:
useFluidEmail: false
After:
finishers:
-
identifier: EmailToReceiver
options:
useFluidEmail: true
For custom templates, replace
template with
template
and
template.
Before:
finishersDefinition:
EmailToReceiver:
options:
templatePathAndFilename: EXT:sitepackage/Resources/Private/Templates/Email/ContactForm.html
After:
finishersDefinition:
EmailToReceiver:
options:
templateName: ContactForm
templateRootPaths:
100: 'EXT:sitepackage/Resources/Private/Templates/Email/'