I am calling the message delete function, which returns successful, and the message doesn't show in the inbox anymore when I log into the mail interface. Although the unread message counter still shows (1) for a supposedly empty inbox.
The main problem is that inbox.getNextMessage still grabs the deleted message. So now I have a phantom email in the inbox that I can't delete through code, or the interface.
I am calling the message delete function, which returns successful, and the message doesn't show in the inbox anymore when I log into the mail interface. Although the unread message counter still shows (1) for a supposedly empty inbox.
The main problem is that inbox.getNextMessage still grabs the deleted message. So now I have a phantom email in the inbox that I can't delete through code, or the interface.