SpaceMonkey~ Like a monkey ready to be shot into space~ SpaceMonkey.

Discuz! 5.5.0 郵件中文亂碼

May 11, 2007 on 12:04 pm | tags:

如果收到的信件都是

MIME-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

而不是正常的中文

請去修改include/sendmail.inc.php
找到

$maildelimiter = !empty($maildelimiter) ? “\r\n” : “\n”;

改成

$maildelimiter =”\n”;

那是因為多了好幾個空白,才會讓MIME出錯,改成上面這樣就好囉

測試環境
Discuz 5.5.0 on Unix-like(FreeBSD/Linux)

目前沒有回應 »

RSS feed for comments on this post. TrackBack URI

請給予回應

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Blog出版系統WordPress 版面配置修改自 Pool theme .
Entries and comments feeds.
本網誌由 王彥博[AlexW] 撰寫/攝影/維護. ^Top^
本網誌圖文皆以cc(by-nc-nd)授權