Hi I am generating an email by Lotus Script,I need a button to be created in my script.This all script is in an agent.
Like we create doclink,Call rtitem.AppendDocLink(doc ,“Click on this link to proceed”) instead of docling i need that button should be pressed and some action will be taken.
Subject: Button ,while sending mail by scripting
You could create a keyword doc or profile doc to actually store a standard portion of the email which includes the button. Then in your code just append to the richtext item in the email, the RT item from the stored document that contains the prescripted email.
Subject: Create a “Reference” document with a RT field. Insert…
a button in that document that contains the LS you want to send. Then in your script, get a handle to the reference document. Then the following code will work:
Set refDoc = v.GetDocumentByKey(“YourRefDocKey”)
Set refButton = refDoc.GetFirstItem(“BodyWithButtonField”);
Call rtitem.AppendRTItem(refButton)