Fixed if enable smtp mail, utf8 character errors in header.
Merge pull request #533 from e-piksel/master

Fixed if enable smtp mail, utf8 character errors in header.