v1.5.9 Added and fixed preview, the only problem is that images on event, guide category and guide resource id is not display on the different pages
This commit is contained in:
@@ -26,6 +26,7 @@ class Helpers
|
||||
return $html;
|
||||
}
|
||||
|
||||
|
||||
public static function sendNewsNotification(News $news, Collection $users){
|
||||
$headers = 'Content-Transfer-Encoding: 8bit'. "\r\n".
|
||||
'Content-Type: text/html; charset="UTF-8"';
|
||||
@@ -40,6 +41,10 @@ class Helpers
|
||||
|
||||
$msg = "Hej " . $user->name_first . " ". $user->name_last . ".\n\nDer er kommet en ny nyhed i skolehjems appen! ";
|
||||
|
||||
//Hello, im here to help the future developer that has this problem,
|
||||
//you have to open up you installed php version, find and
|
||||
//open your php.ini and search for [mail function] and enter the
|
||||
// right information and enable some stuff - Big Smoke
|
||||
mail($email, $subject, $msg, $headers);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user