Body text with AppendDocLink in lotussctipt

I have an lotusscript agent that checks the documents in a view and sends an email including doc link to that document. I am doing this using AppendDocLink properties of notesrichtextitem class. But i want to add mine body text to email body. how may i do it? can anyone help me?

Subject: body text with AppendDocLink in lotussctipt

What do you mean by “But i want to add mine body text to email body”?

If you want to add text before or after the doclink, you do this by using the notesRichTextItem.appendText() method. If you want to add the contents of another richtext item, you may use notesRichTextItem.appendRTItem()

Subject: RE: body text with AppendDocLink in lotussctipt

If you want to add text before or after the > doclink, you do this by using the

notesRichTextItem.appendDoclink() method.

I think you meant the appendtext method.

Subject: Sorry!

Yes, you are absolutely correct.

I’ve edited my posting accordingly.