aspose file tools*
The moose likes Java in General and the fly likes Problem in formatting of what is displayed in Outlook's opened window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

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

Andriy Burachinskiy
Greenhorn

Joined: Dec 31, 2008
Posts: 17
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

Joined: Jan 28, 2003
Posts: 4174
    
  21

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.


Steve
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in formatting of what is displayed in Outlook's opened window