#8145
ctaleck
Participant

A colleague found the solution to the orphaned “pencil” e-mail: use the delete method.

So the new code would be:

   
  set oMsg = GroupWise.Account.GetMessage("xxxx-Message-ID-xxxx")
  set oReplyMsg = oMsg.Reply("", true, true, false)
  call GroupWise.ItemOpen(oReplyMsg.MessageID, "")
  oReplyMsg.Delete()
  set oReplyMsg  = nothing
  set oMsg  = nothing