摘要:
解决方法:先用函数base64_encode() — 使用 MIME base64 对数据进行编码标题字符串前加编码类型例如: =?UTF-8?B?标题字符串后加:?=邮件header说明Content-type — 防止邮件正文也乱码$to = 'xinple@example.com';$subject = "=?UTF-8?B?".base64_encode('邮件标题')."?=";$headers = 'MIME-Version: 1.0' . "\r\n";$headers 阅读全文
posted @ 2011-03-28 10:42 我从山中来 阅读(218) 评论(0) 推荐(0) 编辑