|
@@ -43,7 +43,9 @@ class EMail
|
|
public function Send()
|
|
public function Send()
|
|
{
|
|
{
|
|
$sHeaders = 'MIME-Version: 1.0' . "\r\n";
|
|
$sHeaders = 'MIME-Version: 1.0' . "\r\n";
|
|
- $sHeaders .= 'Content-type: text/html; charset=utf-8' . "\r\n";
|
|
|
|
|
|
+ // ! the case is important for MS-Outlook
|
|
|
|
+ $sHeaders .= 'Content-Type: text/html; charset=UTF-8' . "\r\n";
|
|
|
|
+ $sHeaders .= 'Content-Transfer-Encoding: 8bit' . "\r\n";
|
|
foreach ($this->m_aHeaders as $sKey => $sValue)
|
|
foreach ($this->m_aHeaders as $sKey => $sValue)
|
|
{
|
|
{
|
|
$sHeaders .= "$sKey: $sValue\r\n";
|
|
$sHeaders .= "$sKey: $sValue\r\n";
|