Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Groupwise
Message
De
23/02/2004 13:43:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Groupwise
Divers
Thread ID:
00880019
Message ID:
00880019
Vues:
54
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
Répondre
Fil
Voir

Click here to load this message in the networking platform