EmailLoginNotification implements LoggerAwareInterface uses LoggerAwareTrait
Sends out an email if a backend user has just been logged in.
Relevant settings: $GLOBALS['TYPO3_CONF_VARS']['BE']['warning_mode'] $GLOBALS['TYPO3_CONF_VARS']['BE']['warning_email_addr'] $BE_USER->uc['emailMeAtLogin']
this is not part of TYPO3 API as this is an internal hook
Table of Contents
Interfaces
- LoggerAwareInterface
Methods
- __construct() : mixed
- emailAtLogin() : void
- Sends an email notification to warning_email_address and/or the logged-in user's email address.
- sendEmail() : void
- Sends an email.
Methods
__construct()
public
__construct() : mixed
emailAtLogin()
Sends an email notification to warning_email_address and/or the logged-in user's email address.
public
emailAtLogin(array<string|int, mixed> $parameters, BackendUserAuthentication $currentUser) : void
Parameters
- $parameters : array<string|int, mixed>
-
array data
- $currentUser : BackendUserAuthentication
-
the currently just-logged in user
sendEmail()
Sends an email.
protected
sendEmail(string $recipient, AbstractUserAuthentication $user[, string|null $subjectPrefix = null ]) : void
Parameters
- $recipient : string
- $user : AbstractUserAuthentication
- $subjectPrefix : string|null = null