我正在使用最近移动的网站。移动之后,所有使用php mail()函数和的脚本都具有MIME-Version:并且头中的Content-type无法正确显示。他们出现这样的使用PHP邮件发送的电子邮件在outlook中无法正确显示
Delivered-To: [email protected] Received: by 10.114.121.18 with SMTP id t17cs128223wac;
Thu, 19 Nov 2009 11:52:35 -0800 (PST) Received: by 10.231.48.150 with SMTP id s22mr755195ibfdge.22.1258660355109;
Thu, 19 Nov 2009 11:52:35 -0800 (PST) Return-Path: Received: from u15366254.onlinehome-server.com (u15366254.onlinehome-server.com [74.208.194.179])
by mx.google.com with ESMTP id 16si2425376iwn.129.2009.11.19.11.52.34;
Thu, 19 Nov 2009 11:52:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of [email protected] designates 74.208.194.179 as permitted sender) client-ip=74.208.194.179; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of [email protected] designates 74.208.194.179 as permitted sender) [email protected] Received: (qmail 8341 invoked by uid 48); 19 Nov 2009 08:55:35 -0500 Date: 19 Nov 2009 08:55:35 -0500
Message-ID:
To: [email protected]
Subject: Retailer Application MIME-Version: 1.0 Content-type: text/html; charset=iso-8859-1
From: [email protected]
此外,邮件中的html显示原始。
当我使用完全相同的脚本在另一台服务器上发送电子邮件时,它按预期工作。此外,使用Swift邮件的网站上的电子邮件脚本也能正常工作。
我可以修改它们以使用swift,但有许多脚本需要编辑。
我使用的是php 5.1.6。
任何想法?
2009-11-20
jlightfo
+3
你能向我们展示PHP代码来生成该邮件吗? –
2009-11-20 02:52:05
+0
+1给RageZ。没有代码,没有人可以帮助你。 –
2009-11-20 02:53:29