commit
82b4b3ccb3
@ -68,8 +68,10 @@ class CMailFile
|
|||||||
var $smtps; // Contains SMTPs object (if this method is used)
|
var $smtps; // Contains SMTPs object (if this method is used)
|
||||||
var $phpmailer; // Contains PHPMailer object (if this method is used)
|
var $phpmailer; // Contains PHPMailer object (if this method is used)
|
||||||
|
|
||||||
//CSS
|
/**
|
||||||
var $css;
|
* @var string CSS
|
||||||
|
*/
|
||||||
|
public $css;
|
||||||
//! Defined css style for body background
|
//! Defined css style for body background
|
||||||
var $styleCSS;
|
var $styleCSS;
|
||||||
//! Defined background directly in body tag
|
//! Defined background directly in body tag
|
||||||
@ -944,7 +946,7 @@ class CMailFile
|
|||||||
/**
|
/**
|
||||||
* Build a css style (mode = all) into this->styleCSS and this->bodyCSS
|
* Build a css style (mode = all) into this->styleCSS and this->bodyCSS
|
||||||
*
|
*
|
||||||
* @return css
|
* @return string
|
||||||
*/
|
*/
|
||||||
function buildCSS()
|
function buildCSS()
|
||||||
{
|
{
|
||||||
@ -1232,7 +1234,7 @@ class CMailFile
|
|||||||
{
|
{
|
||||||
foreach ($images_list as $img)
|
foreach ($images_list as $img)
|
||||||
{
|
{
|
||||||
dol_syslog("CMailFile::write_images: i=$i");
|
dol_syslog("CMailFile::write_images: ".$img["name"]);
|
||||||
|
|
||||||
$out.= "--" . $this->related_boundary . $this->eol; // always related for an inline image
|
$out.= "--" . $this->related_boundary . $this->eol; // always related for an inline image
|
||||||
$out.= "Content-Type: " . $img["content_type"] . "; name=\"".$img["name"]."\"".$this->eol;
|
$out.= "Content-Type: " . $img["content_type"] . "; name=\"".$img["name"]."\"".$this->eol;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user