4 include_once
'Services/Mail/classes/class.ilMimeMail.php';
29 $this->mime_mail->To($a_rcp);
30 $this->mime_mail->Subject($this->
getSubject());
31 $this->mime_mail->Body($this->
getBody());
32 $this->mime_mail->Send();
38 protected function initMimeMail()
46 $this->mime_mail->From($ilSetting->get(
'admin_email'));
47 $this->mime_mail->autoCheck(
false);
57 parent::initLanguageByIso2Code($a_code);
58 $this->
getLanguage()->loadLanguageModule(
'registration');
66 parent::initLanguage($a_usr_id);
67 $this->
getLanguage()->loadLanguageModule(
'registration');
74 protected function handleCurrentRecipient($rcp)
76 require_once
'Services/Mail/exceptions/class.ilMailException.php';
getLanguage()
get language object
static is_email($a_email)
This preg-based function checks whether an e-mail address is formally valid.
ILIAS Exception for Service Mail.
initLanguageByIso2Code($a_code='')
getSubject()
Get mail subject.
Base class for course/group mail notifications.
this class encapsulates the PHP mail() function.
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)