Mail()函数发送邮件显示的是代码?! 测试了一下,sohu,msn可以正常显示,163的不行.这需要你用客户端收取一下你发的邮件的详细信息,和用qq,163收取的正常显示邮件的信息做下对比. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 谢谢jakey9826掌柜的回答.---------------这个也对比不出什么问题哦,以前正常显示出页面来,现在就是显示出一堆html的代码,没有将html的代码转换成页面显示.以前用这个程序发送都正常,现在不知道哪里出问题了,郁闷啊.. 是可以对比出来的,用outlook接收邮件,然后选中邮件查看其属性.查看对比类似的信息Return-Path: <[email protected]>X-Original-To: [email protected]Delivered-To: [email protected]Received: from sohumx67.sohu.com (unknown [10.10.71.67]) by mx33.mail.sohu.com (Postfix) with ESMTP id 77E5732E for <[email protected]>; Sat, 14 Mar 2009 02:25:15 +0800 (CST)Received: from sina.com (unknown [119.136.124.84]) by sohumx67.sohu.com (Postfix) with ESMTP id E86FC1D8D29 for <[email protected]>; Sat, 14 Mar 2009 02:24:54 +0800 (CST)From: =?GB2312?B?1cXPyMn6?= <[email protected] >Subject: =?GB2312?B?yczMuA==?=To: [email protected]Content-Type: text/plain;charset="GB2312"Content-Transfer-Encoding: 8bitReply-To: [email protected]Date: Sat, 14 Mar 2009 02:25:34 +0800X-Priority: 3X-Mailer: Foxmail 4.2 [cn]Message-Id: <[email protected]>X-SOHU-Antispam-Bayes: 999X-SOHU-Antispam-Language: 0X-KBAS-Analysis: kbas content reject: 553 this mail is blocked by kbas system,blockid=192.168.95.20.25237.1236968689 jakey9826掌柜,我按您说的方法看了能正常显示的邮件的属性和不能正常显示的邮件的属性,发现正常显示的邮件信头中有:MIME-Version: 1.0 Content-type: text/html; charset=big5 From:e-bulletin <[email protected]>发现不能正常显示的邮件的信头中只有"MIME-Version: 1.0",后面没有其他东西了.我便把代码改成这样"$headers = "MIME-Version: 1.0 Content-type: text/html; charset=big5 From:e-bulletin <[email protected]>",但发现还是不能显示出页面,显示的还是一堆代码,怎么回事? 大佬,这问题如何解决啊? 救命.. 域名列表粘到一起了,求分解。 Zend5.20,apache2.2.4 ,php5.21下不能调试 php小程序 怎样改改写代码,才能不然错误提示里面出现物理路径? 点按钮 表格就显示出来,这里哪有错,帮我改改 初试PHP,请问PHP的论坛数据库版和文本版那种好些啊? 关于编码的问题,大虾指教了 我用 Header跳转网页以后,怎么得不到是从哪里跳转来的啊? 再次请教各位高手,有谁知道,如何用PHP向sybase和oracle数据库中提交word文档??? 请教PHP上传文件的接收代码问题 PHP的一个实现请教 一个关于文本备份数据库的算法问题
---------------
这个也对比不出什么问题哦,以前正常显示出页面来,现在就是显示出一堆html的代码,没有将html的代码转换成页面显示.
以前用这个程序发送都正常,现在不知道哪里出问题了,郁闷啊..
用outlook接收邮件,然后选中邮件查看其属性.查看对比类似的信息Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from sohumx67.sohu.com (unknown [10.10.71.67])
by mx33.mail.sohu.com (Postfix) with ESMTP id 77E5732E
for <[email protected]>; Sat, 14 Mar 2009 02:25:15 +0800 (CST)
Received: from sina.com (unknown [119.136.124.84])
by sohumx67.sohu.com (Postfix) with ESMTP id E86FC1D8D29
for <[email protected]>; Sat, 14 Mar 2009 02:24:54 +0800 (CST)
From: =?GB2312?B?1cXPyMn6?= <[email protected] >
Subject: =?GB2312?B?yczMuA==?=
To: [email protected]
Content-Type: text/plain;charset="GB2312"
Content-Transfer-Encoding: 8bit
Reply-To: [email protected]
Date: Sat, 14 Mar 2009 02:25:34 +0800
X-Priority: 3
X-Mailer: Foxmail 4.2 [cn]
Message-Id: <[email protected]>
X-SOHU-Antispam-Bayes: 999
X-SOHU-Antispam-Language: 0
X-KBAS-Analysis: kbas content reject: 553 this mail is blocked by kbas system,blockid=192.168.95.20.25237.1236968689
发现正常显示的邮件信头中有:MIME-Version: 1.0 Content-type: text/html; charset=big5 From:e-bulletin <[email protected]>
发现不能正常显示的邮件的信头中只有"MIME-Version: 1.0",后面没有其他东西了.
我便把代码改成这样"$headers = "MIME-Version: 1.0 Content-type: text/html; charset=big5 From:e-bulletin <[email protected]>",但发现还是不能显示出页面,显示的还是一堆代码,怎么回事? 大佬,这问题如何解决啊? 救命..