fixed mail path (this is still a todo)
This commit is contained in:
parent
a7658e580d
commit
401859964f
@ -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){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user