I am using a LotusScript function which comes from script library. It has another function which sends mail. Now I want to modify the function to send mail along with document link and snapshot of a document. I find the code is using MIME entity functions. When I commented out all mime entity related script and I made it simple LotusScript methods to send document link using notesrichtextitem. But now the document link is not generated instead it is generated as "(document link :" some text"). Please help.