benjamin - 2003-07-04

Hi,

Some HTML messages are show in TEXT(HTML source).
I look at the php source and I see that it is the php function imap_fetchstructure what give a wrong answer :

stdClass Object ( [type] => 0 [encoding] => 1 [ifsubtype] => 1 [subtype] => PLAIN [ifdescription] => 0 [ifid] => 0 [lines] => 70 [bytes] => 5495 [ifdisposition] => 0 [ifdparameters] => 0 [ifparameters] => 0 [parameters] => stdClass Object ( ) )

However, the head of the message show :

Return-Path: <XXX>
Delivered-To: XXX
Received: from XXX
Date: Tue, 1 Jul 2003 20:50:47 +0200 (CEST)
Message-Id: <200307011850.h61IolO15991@XXX.com>
To: XXX
Subject: Les News
X-abuse: XXX
X-Originating-IP: (null)
X-Php-User: ju22718
From: XXX
Reply-To: XXX
Content-Type: text/html; charset="iso-8859-1"

I user php 4.3.2 imap client 2002d and jawmail 2.0.1

Who is wrong? Php? Imap?

Thank you