Email in HTML fix separator for outlook
This commit is contained in:
parent
c6b6976040
commit
b0f09b5d06
1 changed files with 2 additions and 1 deletions
|
|
@ -168,12 +168,13 @@ class Sendmail_Core
|
||||||
$this->content .= "Content-Transfer-Encoding: 8bit" . $eol.$eol ;
|
$this->content .= "Content-Transfer-Encoding: 8bit" . $eol.$eol ;
|
||||||
$this->content .= $this->message . $eol ;
|
$this->content .= $this->message . $eol ;
|
||||||
} elseif ($this->format == 'HTML') {
|
} elseif ($this->format == 'HTML') {
|
||||||
|
$separator_second=md5(rand());
|
||||||
|
|
||||||
$this->header .= "Content-Type: multipart/mixed; boundary=\"" . $separator . "\"" .$eol ;
|
$this->header .= "Content-Type: multipart/mixed; boundary=\"" . $separator . "\"" .$eol ;
|
||||||
// message PLAIN
|
// message PLAIN
|
||||||
$this->content .= "--" . $separator . $eol;
|
$this->content .= "--" . $separator . $eol;
|
||||||
$separator_second=md5(rand());
|
|
||||||
$this->content .= "Content-Type: multipart/alternative; boundary=\"" . $separator_second . "\"".$eol ;
|
$this->content .= "Content-Type: multipart/alternative; boundary=\"" . $separator_second . "\"".$eol ;
|
||||||
|
$this->content.= "--$separator_second".$eol;
|
||||||
$this->content .= "Content-Type: text/plain; charset=UTF-8; format=flowed".$eol;
|
$this->content .= "Content-Type: text/plain; charset=UTF-8; format=flowed".$eol;
|
||||||
$this->content .= "Content-Transfer-Encoding: 8bit" . $eol.$eol ;
|
$this->content .= "Content-Transfer-Encoding: 8bit" . $eol.$eol ;
|
||||||
$this->content .= strip_tags($this->message) . $eol ;
|
$this->content .= strip_tags($this->message) . $eol ;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue