I am trying to have the user preview the email message in the GW window and then have the user hit the send button. Can this be done? I tried using Execute.OpenItem(messageID) but I keep getting an Invalid number of parameters error.
Here is the code
objGWSes=CREATEOBJECT('NovellGroupwareSession')
objGwCom=CREATEOBJECT('GroupwiseCommander')
objGWLogin=objGWSes.Login
ObjGWMsg=objGWLogin.mailbox.messages
ObjGWMsgAdd=ObjGWMsg.add()
lcMesId=ObjGWMsgAdd.messageid
lcRec=ObjGWMsgAdd.recipients.add("########")
ObjGWMsgAdd.bodytext="This is a test"
ObjGWMsgAdd.Subject="Help"
lcRetResult=objGWCom.Execute("OpenItem(lcMesID)")
Thanks
Claude
Claude Gosselin