Strange problem appeared. I have written som LS-code in a folder action which sets some values to selected documents in the $Inbox, then moves that document to a different folder and finally removes it from the $Inbox.
So far all is well. However, after about 8-10 minutes, the document reappears in the inbox. This of course confuses the user who thinks he/she already processed the document.
Here’s a sample of the code:
Maildoc.AttachementsFiledBy = session.CommonUserName
Maildoc.AttachementsFiledDate = Cstr(Now)
MailDoc.Status = Status
Call MailDoc.Save(True, False)
Call MailDoc.MarkRead
Call MailDoc.PutInFolder(“Behandlade”)
Call MailDoc.RemoveFromFolder(“($Inbox)”)
I have confirmed that it is the same document reappearing and not a second copy of the mail being sent. The application runs on a cluster-server environment if that’s any clue.
Greatful for any ideas to what may be causing this behavior.
/Hans