[imp] Re : IMP doesn't properly display html-only (Content-Type:text/html)

arn at scs-net.org arn at scs-net.org
Sun Nov 30 07:21:15 PST 2003


When you look at your message (message source in Horde),
you'll see several headers.
One of them is the Content-Type:text/html
for horde to work (and that's the RFC way of doing things), you should have 
also a line MIME-Version: 1.0
if this line is not present, imp will not treat the mail as html but as text. 
The only solution I found (It was the mail sending the invoice and the product 
is not open source), was to modify horde for this particular mail.
If you are writing the mail, you can just add this to your program.

Regards
Armelle

Quoting Angelica Escobar <angeles at ibc-solutions.com>:

> hello!
> I have the same program with the attachments...
> I can't understand when you say  check other headers can you clear me it?
> 
> thanks
> 
> Angelica
> 
> ----- Original Message ----- 
> From: <arn at scs-net.org>
> To: <imp at lists.horde.org>
> Sent: Saturday, November 29, 2003 9:35 AM
> Subject: [imp] Re : IMP doesn't properly display html-only
> (Content-Type:text/html)
> 
> 
> > Hello,
> > Maybe you should check other headers.
> > I had the same problems if the mail don't have the header
> > MIME-Version: 1.0
> > check
> > Regards
> > Armelle Nedelec
> > consultant
> >
> >
> > >
> > > Message: 2
> > > Date: Fri, 28 Nov 2003 15:18:54 -0500
> > > From: Chuck Hagenbuch <chuck at horde.org>
> > > Subject: [imp] Fwd: IMP doesn't properly display html-only
> > > (Content-Type: text/html) messages
> > > To: imp at lists.horde.org
> > > Message-ID: <20031128151854.ot668s8oggwg8g0w at marina.horde.org>
> > > Content-Type: text/plain; charset="iso-8859-1"
> > >
> > >
> > >
> > > ----- Forwarded message from faxguy at howardsilvan.com -----
> > >     Date: Fri, 28 Nov 2003 12:21:45 -0800
> > >     From: Lee Howard <faxguy at howardsilvan.com>
> > > Reply-To: Lee Howard <faxguy at howardsilvan.com>
> > >  Subject: IMP doesn't properly display html-only (Content-Type:
> text/html)
> > > messages
> > >       To: chuck at horde.org
> > >
> > > Hello Chuck.
> > >
> > > IMP 3.2.2 doesn't display the attached e-mail as HTML.  Rather, it
> > > displays the HTML source.  It displays in Outlook Express and Outlook
> > > just fine.
> > >
> > > I see this same problem mentioned in the first comment on:
> > >
> > > http://bugs.horde.org/show_bug.cgi?id=774
> > >
> > > but it seemed to get ignored due to the other comments afterwards.
> > > Adding "Content-Transfer-Encoding: quoted-printable" certainly doesn't
> > > help - nor should it be a factor anyway.
> > >
> > > In imp/config/mime_drivers.php
> > >
> > > $mime_drivers['imp']['html']['inline'] = true;
> > >
> > > is set, but it doesn't make a difference since it's not an attachment
> > > anyway.
> > >
> > > I've checked the FAQ and the mail archives for a solution but have
> > > found nothing.
> > >
> > > I've tried to file a bug report on the bug tracking system, but it
> > > isn't sending out passwords, so please forgive the direct e-mail.
> > >
> > > Thanks.
> > >
> > > Lee.
> > >
> > >
> > > ----- End forwarded message -----
> > >
> > >
> > > -chuck
> > >
> > > --
> > > Charles Hagenbuch, <chuck at horde.org>
> > > "I'm really... I'm not too fascinated by green food." - Average Joe
> > > -------------- next part --------------
> > > Date: Fri, 28 Nov 2003 09:36:23 -1000
> > > Content-type: text/html
> > >
> > >
> > > <html>
> > > <head>
> > > <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> > > </head>
> > >
> > > <body>
> > > foo
> > > </body>
> > > </html>
> > >
> > >
> >
> >
> >
> > -- 
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 
> 






More information about the imp mailing list