[thelist] Email confirmation - html or text?
Hassan Schroeder
hassan at webtuitive.com
Wed Nov 10 11:16:51 CST 2004
> Having run into this precarious situation...a lot...your best bet is to
> stick with plain ol' text.
/
> However, :-\ all it takes is for one person to accept plain text in your
> closed environment to throw everything you've accomplished out the window...
Sheesh. Kinda dramatic...
Why not just send *both*? People with HTML-capable clients get your
nicely branded message, other people get plain text.
To the OP -- search on the MIME type "multipart/alternative" for
examples.
If you're using a Servlet 2.4 container, the Jakarta Mailer2 taglib
makes this wonderfully easy, but there are probably tools available
for other environments.
HTH!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
More information about the thelist
mailing list