473,385 Members | 1,912 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Error imap_fetch_structure

Ben
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_fetchstructure 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: <20***********************@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_structure 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
Jul 16 '05 #1
2 2423
Ben <bf************@cedratnet.fr> wrote:
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_fetchstructure what give me sometime
a wrong answer : [snip] Who is wrong? Php? Imap client? Imap Server?


This sounds familiar. I have this problem with 4.1.2 and 4.3.0 with both
uw-imapd and courier. I haven't investigated it yet but my guess would
be the imapclient.

--

Daniel Tryba

Jul 16 '05 #2
Ben
Ok,
Let me know if you have an answer.
I have a beguin of answer in the newsgroup comp.mail.imap

Ben

"Daniel Tryba" <ne****************@canopus.nl> a écrit dans le message de
news:be**********@news.tue.nl...
Ben <bf************@cedratnet.fr> wrote:
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_fetchstructure what give me sometime a wrong answer :

[snip]
Who is wrong? Php? Imap client? Imap Server?


This sounds familiar. I have this problem with 4.1.2 and 4.3.0 with both
uw-imapd and courier. I haven't investigated it yet but my guess would
be the imapclient.

--

Daniel Tryba

Jul 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: AIM | last post by:
Error in msvc in building inheritance.obj to build hello.pyd Hello, I am trying to build the boost 1.31.0 sample extension hello.cpp. I can not compile the file inheritance.cpp because the two...
5
by: Tony Wright | last post by:
Hi, I am having a problem installing an msi for a web site. The error message I am getting is: "The specified path 'http://mipdev05/features/Fas2' is unavailable. The Internet Information...
1
by: Aravind | last post by:
we have two files: 1. rc4.c (defines one function "create_pin()") 2. MyImpl.c(calling the function "create_pin()"),This implements JNI method. 1.When I am trying to create .dll file with one...
1
by: yanwan | last post by:
I met this problem in executing a c++ project in visual studio. Does anyone have suggestions to resolve "error lnk 2001"? --------------------Configuration: reconstruction - Win32...
5
by: Enos Meroka | last post by:
Hallo, I am a student doing my project in the university.. I have been trying to compile the program using HP -UX aCC compiler, however I keep on getting the following errors. ...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.