Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Kasper Morup on June 06, 2003, 05:20:38 PM

Title: Html e-mail?
Post by: Kasper Morup on June 06, 2003, 05:20:38 PM
Hello

How do I receive "html e-mails" with SME server 5.6? What do I need to do?

Regards
Kasper Mørup
Title: Re: Html e-mail?
Post by: Steve on June 06, 2003, 05:44:54 PM
erm.....

Use an email client that supports & has enabled html eg. Outlook Express
Title: Re: Html e-mail?
Post by: Joseph on June 06, 2003, 06:43:15 PM
Look in /home/httpd/html/horde/imp/config/mime_drivers.php
Find the line that says:
$mime_drivers['imp']['html']['inline'] = false;
and change it to:
$mime_drivers['imp']['html']['inline'] = true;
Title: Re: Html e-mail?
Post by: Dave on June 10, 2003, 05:53:54 AM
Hi Joseph,

Does this enable HTML emails viewable from the web browser ?

I have made the chages but viewing from the web, the pages are still showing the HTML code.

Perhaps I have mistaken the intention here.

Cheers

Dave
Title: Re: Html e-mail?
Post by: Dave on June 10, 2003, 05:53:56 AM
Hi Joseph,

Does this enable HTML emails viewable from the web browser ?

I have made the chages but viewing from the web, the pages are still showing the HTML code.

Perhaps I have mistaken the intention here.

Cheers

Dave
Title: Re: Html e-mail?
Post by: Dan Brown on June 10, 2003, 07:10:08 AM
If what you're talking about is the webmail system, the change Joseph posted should allow you to view _properly-formed_ HTML messages.  One aspect of being properly formed is that the body has the proper MIME type, namely text/html.  However, for some reason (crappy clients, most likely), many HTML email messages are sent with the wrong MIME type.  IMP won't display those, as they're badly-formed to begin with.  Lookout, I understand, is less picky.
Title: Re: Html e-mail?
Post by: Dave on June 10, 2003, 08:49:48 AM
Thanks Dan

I'll keep an eye out for some good MIME emails :~)

Thanks again

Dave