Skip to content
Snippets Groups Projects
Commit edb17906 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: add background with php mail

parent 2ea3b3a3
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,16 @@ class CMailFile
// Define mime_headers
$mime_headers = $this->write_mimeheaders($filename_list, $mimefilename_list);
if (! empty($this->html)) $msg = $this->html;
if (! empty($this->html))
{
if (!empty($css))
{
$this->css = $css;
$this->styleCSS = $this->buildCSS();
}
$msg = $this->html;
}
// Define body in text_body
$text_body = $this->write_body($msg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment