Skip to content

Commit

Permalink
add html_charset => APP_CHARSET. LP#741768
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Oct 16, 2014
1 parent 920bfed commit bcbde9a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions lib/eventum/class.mail_helper.php
Expand Up @@ -532,7 +532,12 @@ public function send($from, $to, $subject, $save_email_copy = 0, $issue_id = fal
$to = Mime_Helper::encodeAddress($to);
$subject = Mime_Helper::encode($subject);

$body = $this->mime->get(array('text_charset' => APP_CHARSET, 'head_charset' => APP_CHARSET, 'text_encoding' => APP_EMAIL_ENCODING));
$body = $this->mime->get(array(
'text_charset' => APP_CHARSET,
'html_charset' => APP_CHARSET,
'head_charset' => APP_CHARSET,
'text_encoding' => APP_EMAIL_ENCODING,
));
$headers = array(
'From' => $from,
'To' => self::fixAddressQuoting($to),
Expand Down Expand Up @@ -572,7 +577,12 @@ public function getFullHeaders($from, $to, $subject)
$to = Mime_Helper::encodeAddress($to);
$subject = Mime_Helper::encode($subject);

$body = $this->mime->get(array('text_charset' => APP_CHARSET, 'head_charset' => APP_CHARSET, 'text_encoding' => APP_EMAIL_ENCODING));
$body = $this->mime->get(array(
'text_charset' => APP_CHARSET,
'html_charset' => APP_CHARSET,
'head_charset' => APP_CHARSET,
'text_encoding' => APP_EMAIL_ENCODING,
));
$this->setHeaders(array(
'From' => $from,
'To' => $to,
Expand Down

0 comments on commit bcbde9a

Please sign in to comment.