ご意見ありがとうございます。私はもうすぐそこにいます..片付けなければならないことがいくつかあります。しかし、あなたのヒントで、私は必要なことをすることができました. 他の誰かがそれを必要とする場合に備えて、私が思いついたコードを投稿して、感謝したいと思いました。
var stream:NotesStream = session.createStream();
//Grab the contents of the rt field on the web that has just been edited:
var issueRT:NotesRichTextItem = getComponent("issue1").getValue();
//Prefix some additional information for the customer.
stream.writeText("**IMPORTANT: When responding, please do not include the history. That is, remove this line and everything below it. **");
//carriage return:
stream.writeText("<p>");
//Prefix a tag that will be used to strip off text if they respond WITH email history.
stream.writeText("<LWST>");
//carriage return:
stream.writeText("<p>");
//Prefix the
//Prefix a view scoped variable that contains things like date, responder, etc.
stream.writeText(viewScope.ResponseHeader);
//Add the contents of the rt field.
stream.writeText( issueRT.getText() );
//carriage return:
stream.writeText("<p>");
//Add the end tag.
stream.writeText("</LWST>");
//Create the email body field.
var emailBody:NotesMIMEEntity = maildoc.createMIMEEntity("body");
emailBody.setContentFromText(stream,"text/html;charset=UTF-8", 1725);
stream.close();