Re: text vs html email readers

peeter talvistu <[email protected]>
Newsgroups gmane.comp.cms.cms-forum.general
Organization [email protected]
Message-ID <[email protected]>
i don't understand your question (are you asking about specific 
applications or about how they work), but sending hybrid e-mails is all 
about e-mail headers and content-boundaries. for example if you want to 
send a hybrid e-mail via php you have to specify it in the header 
something like this:

$headers .= "Content-Type: multipart/alternative;\n 
boundary=\"BOUNDARY12345\"";

and in the body/content you have to separate the different parts with 
the specified boundary.
for example:

$content .= "--BOUNDARY12345
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

plain text email here

--BOUNDARY12345
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

html email code here

--BOUNDARY12345--";

i'm sure that with some modifications you can use similiar code in othe 
languages as well.
hope this helped somewhat
happy holidays to all

peeter

>Happy Holidays all!
> 
>We are adding some email flexibility into our cms package and I was wondering if there are any programmers out there that might know how some of the email management packages out there are able to offer a hybrid sender that recognizes and displays emails either in html/text format depending on the readers systems settings/abilities?  Is there some code floating around out there that would facilitate this? 
> 
>Any suggestions would be warmly appreciated!
> 
>Best and Warmest, 
>Mike Blazedell @ http://mmprove.com
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.