SendRecoveryEmailEvent¶
The PSR-14 event \TYPO3\
contains the email to be sent and additional information about the user who
requested a new password.
Hint
Before TYPO3 v13, only the variables {receiver
, {url}
and {valid
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 {user
is available in
the password recovery Fluid
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.
API¶
- class SendRecoveryEmailEvent ¶
-
- Fully qualified name
-
\TYPO3\
CMS\ Frontend Login\ Event\ Send Recovery Email Event
Event that contains the email to be sent to the user when they request a new password.
More
Additional validation can happen here.
- getUserInformation ( ) ¶
-
- Returns
-
array
- getEmail ( ) ¶
-
- Returns
-
\TYPO3\
CMS\ Core\ Mail\ Fluid Email