Я использую скрипт php, найденный здесь:
http://css -tricks.com / 2866-send-nice-html-email-with-php /
Я загрузил его на свой сервер - и он отказывается отправлять электронные письма правильно!
Это то, что я получаю в Gmail: (отображается как raw html)
Content-Type: text/html; charset=ISO-8859-1
<html>
<body>
<img src="http://css-tricks.com/examples/WebsiteChangeRequestForm/images/wcrf-header.png" alt="Website Change Request" />
<table rules="all" style="border-color: #666;" cellpadding="10">
<tr style='background: #eee;'>
<td><strong>Name:</strong> </td>
<td>sd</td>
</tr>
<tr>
<td><strong>Email:</strong> </td>
<td>myrealemail@gmail.com.au</td>
</tr>
<tr>
<td><strong>Type of Change:</strong> </td>
<td>Change to Existing Content</td>
</tr>
<tr>
<td><strong>Urgency:</strong> </td>
<td>Super Wicked Urgent</td>
</tr>
<tr>
<td><strong>URL To Change (main):</strong> </td>
<td>http://css-tricks.com/2866-sending-nice-html-email-with-php/</td>
</tr>
<tr>
<td><strong>CURRENT Content:</strong></td>
<td>fdasgdsfg</td>
</tr>
<tr>
<td><strong>NEW Content:</strong> </td>
<td>sdfgsdgf</td>
</tr>
</table>
</body>
</html>
IsЕсть ли какие-либо настройки сервера, которые мне, возможно, придется изменить ???
Я также использовал несколько плагинов WordPress на этом сервере, которые, кажется, имеют ту же проблему.
Любые идеи были бы хорошими.
ОБНОВЛЕНИЕ:
** ОБНОВЛЕНИЕ **
Вот что я получаю в Gmail, когда нажимаю "Показать оригинал"
Delivered-To: [removed-intentionally]@gmail.com
Received: by 10.204.157.136 with SMTP id b8cs43947bkx;
Sun, 14 Aug 2011 22:29:40 -0700 (PDT)
Received: from mr.google.com ([10.236.77.232])
by 10.236.77.232 with SMTP id d68mr14702149yhe.74.1313386180151 (num_hops = 1);
Sun, 14 Aug 2011 22:29:40 -0700 (PDT)
Received: by 10.236.77.232 with SMTP id d68mr11051146yhe.74.1313386179570;
Sun, 14 Aug 2011 22:29:39 -0700 (PDT)
Return-Path: <anonymous@ub002lps00.cbr.the-server.net.au>
Received: from ironport1-mx.cbr1.mail-filtering.com.au (ironport1-mx.cbr1.mail-filtering.com.au [203.88.115.241])
by mx.google.com with ESMTP id g70si16130380yhe.152.2011.08.14.22.29.38;
Sun, 14 Aug 2011 22:29:39 -0700 (PDT)
Received-SPF: neutral (google.com: 203.88.115.241 is neither permitted nor denied by best guess record for domain of anonymous@ub002lps00.cbr.the-server.net.au) client-ip=203.88.115.241;
Authentication-Results: mx.google.com; spf=neutral (google.com: 203.88.115.241 is neither permitted nor denied by best guess record for domain of anonymous@ub002lps00.cbr.the-server.net.au) smtp.mail=anonymous@ub002lps00.cbr.the-server.net.au
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqoHAHOuSE5xFATR/2dsb2JhbABBmHOPCHeEEYd0lCyfAIZHBKQJ
X-IronPort-AV: E=Sophos;i="4.67,372,1309701600";
d="scan'208,217";a="465774510"
Received: from ub002lps00.cbr.the-server.net.au ([113.20.4.209])
by ironport1-mta.cbr1.mail-filtering.com.au with ESMTP; 15 Aug 2011 15:29:03 +1000
Received: (qmail 14705 invoked by uid 10317); 15 Aug 2011 07:29:02 +0200
Date: 15 Aug 2011 07:29:02 +0200
Message-ID: <20110815052902.14702.qmail@ub002lps00.cbr.the-server.net.au>
To: [removed-intentionally]@gmail.com
Subject: Website Change Reqest
From: [removed-intentionally]@gmail.com
Reply-To: [removed-intentionally]@gmail.com
MIME-Version: 1.0
Content-Type: text/html; charset=ISO-8859-1
<html><body><img src="http://css-tricks.com/examples/WebsiteChangeRequestForm/images/wcrf-header.png" alt="Website Change Request" /><table rules="all" style="border-color: #666;" cellpadding="10"><tr style='background: #eee;'><td><strong>Name:</strong> </td><td>sd</td></tr><tr><td><strong>Email:</strong> </td><td>[removed-intentionally]@gmail.com</td></tr><tr><td><strong>Type of Change:</strong> </td><td>Change to Existing Content</td></tr><tr><td><strong>Urgency:</strong> </td><td>Super Wicked Urgent</td></tr><tr><td><strong>URL To Change (main):</strong> </td><td>http://css-tricks.com/2866-sending-nice-html-email-with-php/</td></tr><tr><td><strong>CURRENT Content:</strong> </td><td>fdasgdsfg</td></tr><tr><td><strong>NEW Content:</strong> </td><td>sdfgsdgf</td></tr></table></body></html>