SendRecoveryEmailEvent¶
The PSR-14 event \TYPO3\CMS\FrontendLogin\Event\SendRecoveryEmailEvent
contains the email to be sent and additional information about the user who
requested a new password.
Hint
Before TYPO3 v13, only the variables {receiverName}
, {url}
and {validUntil}
are available in the Fluid template of the password
recovery email. If more user-related data was required in the recovery email,
integrators had to use this PSR-14 event to add additional variables to the
email object.
Since TYPO3 v13, a new array variable {userData}
is available in
the password recovery FluidEmail
object. It contains the values of
all fields belonging to the affected frontend user. Therefore, for this
use case, this event is not needed anymore.
Example¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.