How do you delete mail in IMAP?

Mike Matthews - Omnis omnis at
Mon Apr 11 21:15:38 UTC 2022


You have to set the delete flag on the record.

Then move it to the Bin/Trash mailbox.

Mike Matthews

Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>

omnis at<mailto:mike.matthews at><><>

On 11 Apr 2022, at 19:52, Das Goravani <goravanis at<mailto:goravanis at>> wrote:

Talking 10.2 here

In IMAP I have noticed actions for things like listing mailboxes, listing messages and so on…

But there’s no action for deleting a message completely

How do you delete a message completely in the IMAP world within Omnis

The one mention of "get’s rid of message" was in reference to appending the same message again to a list.. it said messages with duplicate ID’s disappear by the IMAP engine, so I was thinking one way to get rid of a message is to append itself to the same list and then both copies will go away?

Then there’s the Action for commands and there is some type of DELETE command within IMAP since I was able to find it’s error codes

I guess I have to make a custom command binary and execute that having the delete command within it

Anyone have that or know the way to delete?
Manage your list subscriptions at
Start a new message -> mailto:omnisdev-en at

More information about the omnisdev-en mailing list