Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email structure causing blank content on Hotmail 1

Status
Not open for further replies.

Sleidia

Technical User
May 4, 2001
1,284
FR
Hello,

Could someone be kind enough to tell me what's wrong with the email's source code displayed below?

Its content gets displayed normally seemingly everywhere with the exception of Hotmail which makes it appear totally blank.

Any idea?
(BTW, this email is constructed by some PHP code of mine)

Thanks !

Code:
Return-Path: <some_person@some_mail.com>
Received: from swip.net (mailfe03.myISP.com [111.111.111.11])
by some_mail.com (8.12.8/8.12.8) with ESMTP id k22KWNrs001937
for <some_person@some_mail.com>; Thu, 2 Mar 2006 15:32:23 -0500
X-T2-Posting-ID: vEzoMb1+SBed3+c9tE6uUatr+BFi1uwAz1j04Ppl/Nk=
X-Cloudmark-Score: 0.000000 []
Received: from [111.111.111.11] (HELO some_person)
 by mailfe03.swip.net (CommuniGate Pro SMTP 5.0.8)
 with SMTP id 146431633 for some_person@some_mail.com; Thu, 02 Mar 2006 21:32:21 +0100
Subject: =?iso-8859-1?B?Vm90cmUgaW5zY3JpcHRpb24gOiB2YWxpZGF0aW9uIGVtYWls?=
To: some_person@some_mail.com
From: "some_person" <some_person@some_mail.com>
Reply-To: "some_person" <some_person@some_mail.com>
Date: Friday 3 March 2006, 5:18
MIME-Version: 1.0
X-Priority: 3
X-Mailer: mailer [V1]
Content-Type: multipart/alternative; boundary="----=_NextPart_d239c0ee61f7e417072ea81f113fc8f2"
Message-ID: <auto-000146431633@mailfe03.swip.net>

This is a multi-part message in MIME format.

------=_NextPart_d239c0ee61f7e417072ea81f113fc8f2
Content-Type: text/plain;charset="iso-8859-1
Content-Transfer-Encoding: 7bit

Some text from here ......
.............
.............
.............
...........
............
... to here.

------=_NextPart_d239c0ee61f7e417072ea81f
 
Hi

Is that a typo/copy&paste problem, or the last boundary string is incomplete as in your post ?

Note, that the closing boundary string must have two trailing dashes ( - ) too.

Feherke.
 

Hi :)

You're right, I've just checked the source in Outlook and the boundary string is complete. So, it's just a copy/paste problem that you noticed.

Still, I don't get why it doesn't work on Hotmail :(

Thanks anyway :)

 
Hi

Then probably the missing closing quote ( " ) after the charset is also a copy&paste problem.

No more idea. At this point I would try to simplify the mail as much as possible ( also by sending the mail "by hand" with a [tt]telnet[/tt] client ), to see when the HotMail behaviour changes.

Feherke.
 

Thanks :)

I fixed the missing double quote but it wasn't what causes the problem.

It's getting frustrating :(
 
Hi

One more try. The [tt]Date[/tt] field is abit different then the one described in RFC 2822. Try to format it like this :
Code:
Date: Fri, 3 Mar 2006 05:18:00 +0200 (EET)
But this should really not cause such problem.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top