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
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