Hi All,
I'm trying to send HTML emails from PHP. The thing is, I can do this fine to my work email account (handled by a cobalt box), and to webmail accounts like hotmail, yahoo etc. One of my clients have a different mail server, I'm still trying to find out from them what it is, but basically it just renders the html tags as text.
I've compared the headers, and here's the differences:
My headers:
Return-Path: <xxx@xxx.xxx>
Received: from xxx.xxx.xxx([xx.xx.xx.xx])
by xxx.xxx.xxx(8.9.3/8.9.3) with ESMTP id PAA20848
for <xxx@xxx.coxxxm>; Tue, 15 Apr 2003 15:33:43 +0100
Received: by xxx.xxx.xxx(Postfix, from userid 500)
id CDEEB17616; Tue, 15 Apr 2003 15:30:00 +0100 (BST)
To: xxx@xxx.coxxxm
Subject: Test
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
From: xxx<xxx@xxx.xxx>
Reply-To: xxx@xxx.xxx
X-Mailer: PHP/4.3.0
Message-Id: <20030415143000.CDEEB17616@xxx.xxx.xxx>
Date: Tue, 15 Apr 2003 15:30:00 +0100 (BST)
Client's Headers:
Content-type: text/html; charset=iso-8859-1
From: xxx<xxx@xxx.xxx>
Reply-To: xxx@xxx.xxx
X-Mailer: PHP/4.3.0
Message-Id: <20030415114517.9FEA84020@xxx.xxx.xxx>
Date: Tue, 15 Apr 2003 12:45:17 +0100 (BST)
X-OriginalArrivalTime: 15 Apr 2003 11:55:53.0427 (UTC)
FILETIME=[F75E1230:01C30345]
X-RCPT-TO: <xxx@xxx.xxx>
Status: U
I'm using the additional parameter -fbounce_xxx@xxx.xxx
To set the Return-Path. I've tried setting this plainly in the header also - this hasn't helped either.
It seems to me that the headers are being re-ordered by one of the mail servers. Any ideas much appreciated.
😕