Added quotes around "From" name to prevent F3 email parsing issues (fixes #438)

This commit is contained in:
Nick Mueller
2017-02-17 02:23:45 +01:00
parent 3a28f23e0e
commit e5c5781953

View File

@@ -50,7 +50,7 @@ class MailController extends \SMTP{
*/
public function sendRallyPoint($to, $msg){
$this->set('To', '<' . $to . '>');
$this->set('From', 'Pathfinder <' . Controller::getEnvironmentData('SMTP_FROM') . '>');
$this->set('From', '"Pathfinder" <' . Controller::getEnvironmentData('SMTP_FROM') . '>');
$this->set('Subject', 'PATHFINDER - New rally point');
$status = $this->send($msg);