I have made an applet to archive all messages in the selected folder, but after the applet has run the messages are still visible. Only after pressing the F5 button they disappear.
What is the code to refresh the selected folder and sub-folders?
Below the code i’m currently using, but the last two refresh lines doesn’t seem to work
Sub Main(Client, GWEvent)
set oFolder = client.clientstate.selectedfolder
blnRun = False
MainForm.lblInfo.Caption = “Moving all messages to ARCHIVE in folder: “+ oFolder.Name
if (oFolder.ObjType <> fgwMailbox) then
msgbox “Not allowed here.”
set oFolder = nothing
- You must be logged in to reply to this topic.