Error imap_fetch_structure

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ben

    Error imap_fetch_structure

    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


  • Daniel Tryba

    #2
    Re: Error imap_fetch_stru cture

    Ben <bfabre_no_spam @cedratnet.fr> wrote:[color=blue]
    > 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 :[/color]
    [snip][color=blue]
    > Who is wrong? Php? Imap client? Imap Server?[/color]

    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

    Comment

    • Ben

      #3
      Re: Error imap_fetch_stru cture

      Ok,
      Let me know if you have an answer.
      I have a beguin of answer in the newsgroup comp.mail.imap

      Ben

      "Daniel Tryba" <news_comp.lang .php@canopus.nl > a écrit dans le message de
      news:bejfq8$mpg $1@news.tue.nl. ..[color=blue]
      > Ben <bfabre_no_spam @cedratnet.fr> wrote:[color=green]
      > > 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[/color][/color]
      sometime[color=blue][color=green]
      > > a wrong answer :[/color]
      > [snip][color=green]
      > > Who is wrong? Php? Imap client? Imap Server?[/color]
      >
      > 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
      >[/color]


      Comment

      Working...