Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AppendText error

Status
Not open for further replies.

alexbo

Programmer
Jul 26, 2002
20
IT
Hi folks, I have te following code for sending email in c# enviroment:
Doc.ReplaceItemValue("FORM","MEMO");

Doc.ReplaceItemValue("Subject",Subject);
Doc.ReplaceItemValue("Sign","1");
Doc.ReplaceItemValue("Principal", User);
Doc.ReplaceItemValue("FROM", User);
Doc.ReplaceItemValue("ReplayTo",User);
RTI=Doc.CreateRichTextItem("Body");
RTI.AppendText(Body);

In lotus 5.0 works fine on lotus notes 6.5 the RTI.AppendText(Body); crashes.....

I manage to bypass the situation and substituted the two following line
RTI=Doc.CreateRichTextItem("Body");
RTI.AppendText(Body);
with
Doc.ReplaceItemValue("Body",Body);
It works fine but in this case if the variables contains the escape charaters for carriege return the email just ignore them... any Idea thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top