Is there a way to delete either the entire contents of an inbox or folder or mail search results, with the click of one button? Instead of having to delete them at 25 mails at a time by scrolling through and clicking the next button?

I am using version 5.x