5 include_once 
'./Services/Language/classes/class.ilLanguageFactory.php';
 
    6 include_once 
'./Services/Mail/classes/class.ilMail.php';
 
   56                 $this->type = $a_type;
 
   75                 $this->sender = $a_usr_id;
 
   94                 return $this->subject = $a_subject;
 
  113                 $this->body = $a_body;
 
  123                 return $this->body .= $a_body;
 
  142                 $this->recipients = $a_rcp;
 
  162                 $this->language->loadLanguageModule(
'mail');
 
  172                 $this->language = $a_language;
 
  191                 return str_replace(
'\n', 
"\n", $this->
getLanguage()->txt($a_keyword));
 
  201                 $this->ref_id = $a_id;
 
  230                 $this->obj_id = $a_obj_id;
 
  249                 $this->additional_info = $a_info;
 
  294         public function sendMail($a_rcp,$a_type,$a_parse_recipients = 
true)
 
  297                 foreach($a_rcp as $rcp)
 
  299                         if($a_parse_recipients)
 
  309                 $error = $this->
getMail()->sendMail(
 
  321                         $GLOBALS[
'ilLog']->write(__METHOD__.
': '.$error);
 
  340                 return is_object($this->mail) ? $this->mail : $this->
initMail();
 
  349                 include_once 
'./classes/class.ilLink.php';
 
  371                 return ($name[
'title'] ? $name[
'title'].
' ' : 
'').
 
  372                         ($name[
'firstname'] ? $name[
'firstname'].
' ' : 
'').
 
  373                         ($name[
'lastname'] ? $name[
'lastname'].
' ' : 
'');