19 declare(strict_types=1);
    29     public function send(): void
    31         if ($this->
getType() === self::TYPE_NOTIFICATION_ACTIVATION) {
    36             $user = $additional_information[
'usr'];
    37             $this->
getLanguage()->loadLanguageModule(
"registration");
    41                     $this->handleCurrentRecipient($rcp);
    48                 $this->
setBody($this->
getLanguage()->txt(
'reg_mail_body_salutation') . 
' ' . $user->getFullname() . 
',');
    55                     $this->
getLanguage()->txt(
'reg_mail_body_2_confirmation'),
    57                         $additional_information[
'hash_lifetime'],
 
appendBody(string $a_body)
 
Class for mime mail registration notifications. 
 
const TYPE_NOTIFICATION_ACTIVATION
 
static secondsToString(int $seconds, bool $force_with_seconds=false, ?ilLanguage $a_lng=null)
converts seconds to string: Long: 7 days 4 hour(s) ... 
 
getAdditionalInformation()
 
static _generateRegistrationHash(int $a_usr_id)
Generates a unique hashcode for activating a user profile after registration. 
 
setSubject(string $a_subject)
 
sendMimeMail(string $a_rcp)
 
catch(ilCmiXapiException $e) send($response)
 
static _getInstallationSignature()