Example #1
0
 /**
  * send mail to removed user account
  * @param $to
  * @param $msg
  * @return bool
  */
 public function sendDeleteAccount($to, $msg)
 {
     $this->set('To', '<' . $to . '>');
     $this->set('From', 'Pathfinder <' . Controller::getEnvironmentData('SMTP_FROM') . '>');
     $this->set('Subject', 'Account deleted');
     $status = $this->send($msg);
     return $status;
 }
Example #2
0
 /**
  * send notification mail for new rally point systems
  * @param $to
  * @param $msg
  * @return bool
  */
 public function sendRallyPoint($to, $msg)
 {
     $this->set('To', '<' . $to . '>');
     $this->set('From', 'Pathfinder <' . Controller::getEnvironmentData('SMTP_FROM') . '>');
     $this->set('Subject', 'PATHFINDER - New rally point');
     $status = $this->send($msg);
     return $status;
 }