4 include_once
'Services/Mail/classes/class.ilMimeMail.php';
5 include_once
'Services/Mail/classes/class.ilMailNotification.php';
30 $this->mime_mail->To($a_rcp);
31 $this->mime_mail->Subject($this->
getSubject());
32 $this->mime_mail->Body($this->
getBody());
33 $this->mime_mail->Send();
39 protected function initMimeMail()
47 $this->mime_mail->From($ilSetting->get(
'admin_email'));
48 $this->mime_mail->autoCheck(
false);
58 parent::initLanguageByIso2Code($a_code);
59 $this->
getLanguage()->loadLanguageModule(
'registration');
67 parent::initLanguage($a_usr_id);
68 $this->
getLanguage()->loadLanguageModule(
'registration');
75 protected function handleCurrentRecipient($rcp)
77 require_once
'Services/Mail/exceptions/class.ilMailException.php';
static is_email($a_email)
This preg-based function checks whether an e-mail address is formally valid.
initLanguageByIso2Code($a_code='')
Base class for course/group mail notifications.
this class encapsulates the PHP mail() function.
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
Base class for mime mail notifications.
setCurrentRecipient($current_recipient)