Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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

 
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..>
 
Bartender
Posts: 4179
22
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.
 
Author
Posts: 12617
IntelliJ IDE Ruby
 
It is sorta covered in the JavaRanch Style Guide.
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!