Skip to content
Permalink
Browse files

Set headerCharset in EmailComponent.

Apply patch from 'Shota Watanabe', that sets headerCharset on CakeEmail
instances created from within EmailComponent.

Fixes #3398
  • Loading branch information...
markstory committed Nov 26, 2012
1 parent 7402eea commit b41705f59ebfaaa39a5067a82138e34761d2914c
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Controller/Component/EmailComponent.php
@@ -288,6 +288,7 @@ public function initialize(Controller $controller) {
public function send($content = null, $template = null, $layout = null) {
$lib = new CakeEmail();
$lib->charset = $this->charset;
$lib->headerCharset = $this->charset;
$lib->from($this->_formatAddresses((array)$this->from));
if (!empty($this->to)) {

0 comments on commit b41705f

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.