Hi Kostya,
Thanks for your reply.
For what it's worth, I've been using AquaMail for a few years now and, certainly, for almost all of that time I've had the options set the way I mentioned but the behaviour has only changed in the last 24 hours or so.
I have 9 email accounts configured, although only 1 of them has frequent updates.
If I go into the "Inbox" of that one account, scroll down and read a message, then delete it from the message view, the next (newer) message slides in from the left as has been the behaviour for as long as I can remember.
If I go into the Smart Folder, go to any random message in the list (let's say the 3rd one down in a list of 5) and open it in the message view then delete it, it now returns to the message list.
I've now tried checking the "Previous message is older" box with both "Go to previous message" and "Go to next message" set in "After deleting a message" and, in all cases, from the Smart Folder, deleting a message takes me back to the message list. In all cases doing the same thing from the Inbox of my email account does what you would expect, one of the messages adjacent to the deleted message is displayed.
Do you have debugging enabled in this section of code? I can switch the debug on and send you a log if it's of any help.
John