How to send text/html based on browser using javamail api
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   candy_grill
Posted On:   Thursday, December 26, 2002 01:24 PM

Hi,


How do i detect what browser the client is using? I want to send html if client is using IE and text if client is using other than IE (like NS,opera etc ...) How do i detect client browser? and how to send important mails to client with some alert (like some symbol beside email which says that it is important).....
Any help please ........



Thanks.

Re: How to send text/html based on browser using javamail api

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, December 27, 2002 06:56 AM

Depending on the email client used to read the message, and how the recipient has it configured (you'll have to do some testing; save a complete copy of a message that looks the way you want, and examine the headers), if you add a header of "Importance: high" or "Priority: high", it might be interpreted as you are asking for, with an icon in the captions display.

Re: How to send text/html based on browser using javamail api

Posted By:   John_Zukowski  
Posted On:   Thursday, December 26, 2002 05:20 PM

Browser detection is covered in the JavaScript FAQ.
About | Sitemap | Contact