Doh! Thanks for that guys – it now works!
On a related problem, is it possible to assign a user-defined field to all copies of an email?
To explain a bit further, we get emails that come in to multiple people but I want to handle them as one email.
The CommonMessageID is the same for these messages although the MessageID is not.
What I need to do is add a user-defined field to the ‘common’ message so that each user’s Groupwise can tell when somebody else has processed the message.
Have tried getting the message based on the CommonMessageID but it won’t let me add the Field to that message (at least I don’t think it will)