Managing Lotus Notes Mail Format using C#

Posted by Pari on Stack Overflow See other posts from Stack Overflow or by Pari
Published on 2009-09-22T13:55:22Z Indexed on 2010/03/22 8:11 UTC
Read the original article Hit count: 445

Filed under:
|

Hi,

I am accessing mail body and fetching it in another mail. But i am not getting original format of previous mail in new mail.

Problem i am facing in this situation are:

  1. Not getting images in destination mail.
  2. Font is also varying.

I am accessing mail body as follows:

NotesRichTextItem rtItem = (NotesRichTextItem)docInbox.GetFirstItem("Body"); String Body = rtItem.GetFormattedText(false , 0); String bodyFormat = rtItem.type.ToString();

also tried this code:

NotesItem itemBody = docInbox.GetFirstItem("Body"); String bodyFormat = itemBody.type.ToString(); String Body = itemBody.Text;

But not getting solution in both case.

© Stack Overflow or respective owner

Related posts about c#

Related posts about lotus-notes