|
@@ 732-736 (lines=5) @@
|
| 729 |
|
$AltBody = $AltBody.$sigTextHtml; |
| 730 |
|
} |
| 731 |
|
// now set the body |
| 732 |
|
if ($AltBody && ($html_body = $mailObject->findBody('html'))) |
| 733 |
|
{ |
| 734 |
|
if ($this->debugLevel>1) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' -> '.$AltBody); |
| 735 |
|
//error_log(__METHOD__.__LINE__.' html:'.$AltBody); |
| 736 |
|
$html_body->setContents($AltBody,array('encoding'=>Horde_Mime_Part::DEFAULT_ENCODING)); |
| 737 |
|
} |
| 738 |
|
if ($Body && ($text_body = $mailObject->findBody('plain'))) |
| 739 |
|
{ |
|
@@ 738-742 (lines=5) @@
|
| 735 |
|
//error_log(__METHOD__.__LINE__.' html:'.$AltBody); |
| 736 |
|
$html_body->setContents($AltBody,array('encoding'=>Horde_Mime_Part::DEFAULT_ENCODING)); |
| 737 |
|
} |
| 738 |
|
if ($Body && ($text_body = $mailObject->findBody('plain'))) |
| 739 |
|
{ |
| 740 |
|
if ($this->debugLevel>1) ZLog::Write(LOGLEVEL_DEBUG,__METHOD__.__LINE__.' -> '.$Body); |
| 741 |
|
//error_log(__METHOD__.__LINE__.' text:'.$Body); |
| 742 |
|
$text_body->setContents($Body,array('encoding'=>Horde_Mime_Part::DEFAULT_ENCODING)); |
| 743 |
|
} |
| 744 |
|
//advanced debugging |
| 745 |
|
// Horde SMTP Class uses utf-8 by default. |