fixed mail path (this is still a todo)

This commit is contained in:
Ulf Gebhardt 2019-12-19 12:35:36 +01:00
parent a7658e580d
commit 401859964f
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -91,7 +91,7 @@ class saimod_mail extends \SYSTEM\SAI\sai_module{
$images = [];
while($image = $images_qq->next()){
$images[$image['name']] = [ 'file' => (new \PFILES('email/'.$image['file']))->SERVERPATH(),
$images[$image['name']] = [ 'file' => (new \PSAI('saimod_mail/files/'.$image['file']))->SERVERPATH(),
'mime' => $image['mime']];
}
//TODO
@ -102,7 +102,7 @@ class saimod_mail extends \SYSTEM\SAI\sai_module{
$from, $to, 'democracy-deutschland.de',
$subject, $text, $html,
$images, $attachments);
} catch(Exception $e) {
} catch(\Exception $e) {
$sent = false;
}
if($list != self::EMAILLIST_TEST){