/ Forums / Advansys Formativ / Creating Solutions with Formativ / Move an Item to a diffent folder using the MessageID / Reply To: Move an Item to a diffent folder using the MessageID

#7557
ML_NetBeh
Participant

    Thanks,

    It helps, I use the following code now:

    Set MoveObj = GroupWise.Account.SentItems.Messages.Move(aMsg.MessageID, aFolderDestID.Messages)

    Because the Original message is not Removed, I added the following code:

    if not MoveObj is nothing then
    Call GroupWise.Account.SentItems.Messages.Remove(aMsg.MessageID)
    end if

    But still the Original is not removed. What goes wrong?

    Regards,
    Richard Willemsen