Rev 5 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5 | Rev 52 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | public function addHeader($name, $value) { |
77 | public function addHeader($name, $value) { |
78 | $this->headers .= $this->headerLine($name, $value); |
78 | $this->headers .= $this->headerLine($name, $value); |
79 | } |
79 | } |
80 | 80 | ||
81 | public static function utf8Subject($subject) { |
81 | public static function utf8Subject($subject) { |
- | 82 | $subject = mb_convert_encoding($subject, 'UTF-8'); |
|
82 | return '=?UTF-8?B?'.base64_encode(utf8_encode($subject)).'?='; |
83 | return '=?UTF-8?B?'.base64_encode($subject).'?='; |
83 | } |
84 | } |
84 | 85 | ||
85 | private function _sendMail($recipient, $subject, $message, $add_headers='') { |
86 | private function _sendMail($recipient, $subject, $message, $add_headers='') { |
86 | return @mail( |
87 | return @mail( |
87 | $this->QB_SECURE_MAIL_PARAM($recipient), |
88 | $this->QB_SECURE_MAIL_PARAM($recipient), |