#6912
Support 1
Participant

    You have not stated what you are trying to achieve. It appears you are trying to move a message from its folder to the Mailbox folder. If this is true, use the .Move method instead (oSourceFolder & oTargetFolder are local variables initialized as required):

      call oSourceFolder.Messages.Move(f, oTargetFolder.Messages)

    You cannot use .Add or .Move with an attached message; instead, use .Messages.AddExistingMessage(…).

    We have done some testing here, and found that Client.Clientstate.CommandMessage does not work with a shared folder that is owned by someone else. Rather, executing

      set f = Client.ClientState.CommandMessage

    leads to the following error message:

    quote:


    Could not proxy for user at line X, column Y


    However, the following approach to obtaining a message object does work, assuming an item is selected in the message list:

      set f = Client.ClientState.SelectedMessages.Item(1)

    Unfortunately, I cannot get .Messages.Add(f) to work when f is a message in a shared folder that I do not own.

    We have notified Novell of these apparent defects in the GroupWise Object API. Unfortunately Formativ has no control over the behaviour of the GroupWise APIs. These issues are now up to Novell to resolve.

    Advansys Support