======VPOP3.DeleteMessage Lua function====== The [[management scripting|Lua management]] function 'VPOP3.DeleteMessage' marks a specified message to be deleted, or removes the deleted flag. Messages marked to be deleted will not be deleted immediately, but only when that mailbox is 'purged' from an IMAP4 client. VPOP3.DeleteMessage(username, folder, UID, delete); * **username** is the username from [[VPOP3.GetUsers]] * **folder** is the folder from [[VPOP3.GetFolders]] * **UID** is the UID from [[VPOP3.GetMessages]] * **delete** is true if the message is to be marked for deletion or false if that mark is to be removed.