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]>",但发现还是不能显示出页面,显示的还是一堆代码,怎么回事? 大佬,这问题如何解决啊? 救命.. php访问问题 php操作word,excel,具体怎么操作呀? 蛋疼的新手又来求助前辈了。。同一页面处理post。。 php行家过来看看小弟的错误再审么地方啊??这是个什么错误 急!表单直接提交到邮箱的方法,php空间,在线等待 如何保证程序自动刷新时,不读cache 请教有关数据库查询显示的问题! php用什么编辑器 php新手求助,关于php实现c#母版页的问题 PHP Yii 登录后自动跳转到当前页问题 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]>",但发现还是不能显示出页面,显示的还是一堆代码,怎么回事? 大佬,这问题如何解决啊? 救命..