I am looking to track a new message that I have created using VB (calling Commander via DDE). For example, the email is created as …
Dim gwoDDE As Object
Dim sResult As String
Set gwoDDE = CreateObject(“GroupWiseCommander”)
If gwoDDE.Execute(“ViewOpen(276)”, sResult) Then
gwoDDE.Execute “ItemSetText(“”X00″”;0;””ClientName@client.com””)”, sResult
gwoDDE.Execute “ItemSetText(“”X00″”;9;””Subject””)”, sResult
gwoDDE.Execute “ItemSetText(“”X00″”;267;””MyIdentifier””)”, sResult
Set gwoDDE = Nothing
As you can see, I populate a few fields including the View Name (267).
What I want to do is be able to tell what the user did with this email. I have a Formativ applet that responds to the possible events they may do (Close, Save, Send, etc.) which in turn passes the Token and Message information back to my VB app via SendMessage API calls. That part works fine.
My problem comes from the fact that the user might do another email whilst my email is still created but not sent or saved. I need to know that the Token I respond to in my app belongs to the message I created.
What I want to know for sure is that it is OK to edit the View Name for my message? I am assuming that the user can’t get at that field therefore my Identifier will be safe. If I put it in the subject or the body then a user might edit it out and my app will never be able to find the message again. Would there be any long term damage to the Groupwsie message store if I use this approach?
- You must be logged in to reply to this topic.