I have the following code, i can append text to the body of the email except button.how does the button can include in the email by using lotuscript and how to code the action of button if the button include like this way?
any help will be greatly appreciated!
Set maildoc = db.createdocument
maildoc.form = “Memo”
maildoc.sendto = doc.sendto
maildoc.subject = “Subject content”
Set Bitem = New NotesRichTextItem( maildoc, “Body”)
Call Bitem.AppendText( “body content…”)
Call Bitem.AddNewLine( 2)
Call Bitem.AppendText( “Please click the button to acknowledge” )
Call Bitem.AddNewLine( 1 )
Call Bitem.AddNewLine( 2)
Call Bitem.AppendText( “Regards” )
Call Bitem.AddNewLine(1)
Call Bitem.AppendText(“aaa”)
Call maildoc.save(True,True)
Call maildoc.Send(False,Requestor(0))
Set doc = maildoc
Call doc.save(True,True)