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 = []; $images = [];
while($image = $images_qq->next()){ 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']]; 'mime' => $image['mime']];
} }
//TODO //TODO
@ -102,7 +102,7 @@ class saimod_mail extends \SYSTEM\SAI\sai_module{
$from, $to, 'democracy-deutschland.de', $from, $to, 'democracy-deutschland.de',
$subject, $text, $html, $subject, $text, $html,
$images, $attachments); $images, $attachments);
} catch(Exception $e) { } catch(\Exception $e) {
$sent = false; $sent = false;
} }
if($list != self::EMAILLIST_TEST){ if($list != self::EMAILLIST_TEST){