Fix: add background with php mail
This commit is contained in:
parent
2ea3b3a319
commit
edb179064b
@ -186,7 +186,16 @@ class CMailFile
|
|||||||
// Define mime_headers
|
// Define mime_headers
|
||||||
$mime_headers = $this->write_mimeheaders($filename_list, $mimefilename_list);
|
$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
|
// Define body in text_body
|
||||||
$text_body = $this->write_body($msg);
|
$text_body = $this->write_body($msg);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user