Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Groupwise
Message
From
23/02/2004 13:43:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Groupwise
Miscellaneous
Thread ID:
00880019
Message ID:
00880019
Views:
52
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
Reply
Map
View

Click here to load this message in the networking platform