Bookmark Topic Watch Topic
  • New Topic

Problem in formatting of what is displayed in Outlook's opened window

 
Andriy Burachinskiy
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi, guys. I need to send e-mail to one/several recipients. I need my application to retreive data from DataBase and insert it into SUBJECT, BODY fields. I succede in doing this,
(here is a part of my .jsp page):
------------------------------------------------------------------------
GENERATE e-mail

-----------------------------------------------------------------------

Upon clicking this reference in browser MS Outlook is being opened with populated data in appropriate fields - exactly what I need.
The problem is in the following: I need the data, inserted into Outlook's fields(Subject, Body etc.) formatted (bold, italic, etc). It must be done programatically, it's customer's demand. When I try something like:

-----------------------------------------------------------------------
&cc=email@address2.com
&bcc=email@address3.com
&body=<b_old>...</b_old>
-----------------------------------------------------------------------
<b_old - because this tag won't be displayed HERE otherwise

html tags are being displayed in Outlook's window. I also tried to type &LessThen; (<) / &GreaterTthen; (>). Result is exactly the same. Is there any overcome??? Thanks in advance for any ideas shared..>
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Report post to moderator
Check your outlook options. Outlook has an option somewhere to send email in plain text or in HTML. I think this can also be assigned in a domain-by-domain fashion. Check to make sure Outlook is configured to send HTML email.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please CarefullyChooseOneForum.

Continue the discussion in the other thread:

http://www.coderanch.com/t/459945/Other-JSE-JEE-APIs/java/Gurus-your-help-formatting-what
 
    Bookmark Topic Watch Topic
  • New Topic