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