set('Errors-to', '' . Controller::getEnvironmentData('SMTP_ERROR') . '>'); } /** * send registration key * @param $to * @param $msg * @return bool */ public function sendRegistrationKey($to, $msg){ $this->set('To', '"<' . $to . '>'); $this->set('From', '"PATHFINDER" <' . Controller::getEnvironmentData('SMTP_FROM') . '>'); $this->set('Subject', 'PATHFINDERR - Registration Key'); $status = $this->send($msg); return $status; } }