Manisha Chotaliya
asked on
sending HTML formatted Lotus Notes email using Java
Hi,
Please help me to resolve this issue.I'm in urgent need.I tried to search in google but couldn't get it.Spent many days but no luck :-(
(1) I'm creating Email Body with RichTextItem by using Document.createRichTextIte m("Body") with Java and appending text and Table and then send this email with java by keeping myself in BCC.so I will get the same email.
I get the email which has one Table and few text data.
(2) Now I have to use this same data and keep as history while sending the next email.
I mean the reminder email.
but When I retrieve this email from My Inbox,Format gets changed as I'm reading the body as String using
doc.getItemValueString(Ema ilRoboCons tant.BODY) ;So in history the table format disapear.Only it shows the text .
How can I get the same formatting which was created in Point-1?
Any help will be appreciated highly.
Thanks & Regards,
Manisha
Please help me to resolve this issue.I'm in urgent need.I tried to search in google but couldn't get it.Spent many days but no luck :-(
(1) I'm creating Email Body with RichTextItem by using Document.createRichTextIte
I get the email which has one Table and few text data.
(2) Now I have to use this same data and keep as history while sending the next email.
I mean the reminder email.
but When I retrieve this email from My Inbox,Format gets changed as I'm reading the body as String using
doc.getItemValueString(Ema
How can I get the same formatting which was created in Point-1?
Any help will be appreciated highly.
Thanks & Regards,
Manisha
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do not hesitate to accept your own solution...
ASKER
Thank You So Much for your prompt response.
Your suggestion helped me a lot.
While sending the reminder email,I'm creating the RichTextItem in Document with different content and then Appending the Original RichTextBody which I got while sending the first email.
rtitem.appendRTItem((RichT
It resolved my issue.