19declare(strict_types=1);
30 private readonly
int $hash_lifetime_sec
35 public function send(): void
37 $this->
getLanguage()->loadLanguageModule(
'registration');
41 $this->handleCurrentRecipient($rcp);
49 $this->
getLanguage()->txt(
'reg_mail_body_salutation')
51 . $this->
user->getFullname()
59 .
'/confirmReg.php?client_id='
62 . $this->pending_reg->hash()->toString()
67 $this->
getLanguage()->txt(
'reg_mail_body_2_confirmation'),
69 $this->hash_lifetime_sec,
__construct(private readonly \ilObjUser $user, private readonly PendingRegistration $pending_reg, private readonly int $hash_lifetime_sec)
static secondsToString(int $seconds, bool $force_with_seconds=false, ?ilLanguage $a_lng=null)
converts seconds to string: Long: 7 days 4 hour(s) ...
appendBody(string $a_body)
static _getInstallationSignature()
sendMimeMail(string $a_rcp)
setSubject(string $a_subject)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc