用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2375|回复: 1
收起左侧

Email HTML

[复制链接]
发表于 2010-9-29 17:34:41 | 显示全部楼层 |阅读模式
本帖最后由 kevinchen 于 2010-9-29 17:38 编辑

我用同样的代码,在本机(windows)发邮件,收到的邮件就会显示代码,但放到服务器(unix)就会显示正常效果,但是plain格式的部分就为空了,有没有熟悉的帮研究一下这个问题?

本机发的邮件头:

  1. X-Uidl: sm_0000159D_0a44588964b04523b9ad3d02fc9eb427&&mail.example..com
  2. +OK 15878 octets
  3. Return-Path: <contact@example.com>
  4. Received: from 18.13.62.58.broad.gz.gd.dynamic.163data.com.cn [58.62.123.18] by equuleus.lunarmania.com with SMTP;
  5.    Wed, 29 Sep 2010 01:51:23 -0700
  6. Subject: *****SPAM***** =?utf-8?Q?_example_Newsletter_-Wed_09_,_2010?=
  7. To: kchen@example.com
  8. X-PHP-Originating-Script: 0:CI_Email.inc.php
  9. User-Agent: MailSender
  10. Date: Wed, 29 Sep 2010 08:51:25 +0000
  11. From: "example" <contact@example.com>
  12. Reply-To: "contact@example.com" <contact@example.com>
  13. X-Sender: contact@example.com
  14. X-Mailer: MailSender
  15. X-Priority: 3 (Normal)
  16. Message-ID: <4ca2fe0d1a4e1@example.com>
  17. Mime-Version: 1.0
  18. Content-Type: multipart/alternative; boundary="B_ALT_4ca2fe0d1a4ec"
  19. Content-Type: text/plain; charset=utf-8
  20. Content-Transfer-Encoding: 8bit
  21. settings at http: //example.com/mysettings.php?set=notify
  22. Content-Type: text/html; charset=utf-8
  23. Content-Transfer-Encoding: quoted-printable
  24. X-SmarterMail-Spam: SpamAssassin 36.2 [raw: 18.1], SPF_SoftFail
复制代码
发表于 2010-10-5 10:12:41 | 显示全部楼层
等答案中

本版积分规则