Hi,
I have a php appilcation that connect to an imap serveur. All is right
except some message that are show in TEXT (HTML source) instead of HTML.
I see that it tis the php function imap_fetchstruc ture what give me sometime
a wrong answer :
For example with the message below:
Return-Path: <XXX>
Delivered-To: XXX
Received: from XXX
Date: Tue, 1 Jul 2003 20:50:47 +0200 (CEST)
Message-Id: <200307011850.h 61IolO15991@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"
Imap_fetch_stru cture give me the following 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 ( ) )
I user
- php 4.3.2 compile with imap client 2002d
- courier-imap-1.7.1
Who is wrong? Php? Imap client? Imap Server?
What can I do to correct this problem?
Thank you
I have a php appilcation that connect to an imap serveur. All is right
except some message that are show in TEXT (HTML source) instead of HTML.
I see that it tis the php function imap_fetchstruc ture what give me sometime
a wrong answer :
For example with the message below:
Return-Path: <XXX>
Delivered-To: XXX
Received: from XXX
Date: Tue, 1 Jul 2003 20:50:47 +0200 (CEST)
Message-Id: <200307011850.h 61IolO15991@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"
Imap_fetch_stru cture give me the following 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 ( ) )
I user
- php 4.3.2 compile with imap client 2002d
- courier-imap-1.7.1
Who is wrong? Php? Imap client? Imap Server?
What can I do to correct this problem?
Thank you
Comment