4 require_once
'Services/Mail/classes/class.ilMimeMailNotification.php';
5 require_once
'Services/Mail/classes/class.ilMail.php';
22 parent::__construct();
25 public function send()
29 case self::TYPE_NOTIFICATION_ACTIVATION:
35 $user = $additional_information[
'usr'];
36 $this->
getLanguage()->loadLanguageModule(
"registration");
42 $this->handleCurrentRecipient($rcp);
49 $this->initMimeMail();
53 $this->
setBody($this->
getLanguage()->txt(
'reg_mail_body_salutation') .
' ' . $user->getFullname() .
',');
60 $this->
getLanguage()->txt(
'reg_mail_body_2_confirmation'),
65 $this->
appendBody(ilMail::_getInstallationSignature());
getType()
Get notification type.
__construct()
Constructor.
Class for mime mail registration notifications.
const TYPE_NOTIFICATION_ACTIVATION
getAdditionalInformation()
static secondsToString($seconds, $force_with_seconds=false, $a_lng=null)
converts seconds to string: Long: 7 days 4 hour(s) ...
getRecipients()
get array of recipients
Base class for mime mail notifications.
static _generateRegistrationHash($a_usr_id)
Generates a unique hashcode for activating a user profile after registration.
appendBody($a_body)
Append body text.