Remove ALL mail on server

Is there a way to remove ALL mail on server. Or a tick box for each header to save to file/delete on server. I find that I have to delete mail in eM Client to remove on server. This is an awkward process.

Select the correct folder. Ctrl-A to select all messages - DEL to delete or CTRL-DEL to permanently delete. Then wait while the actions are synced to the server.

That works for me in Outlook - I have no reason to suppose it won’t work in EM Client.

Thanks