How can I mass delete the identified spam on my iphone 6

I can delete the identified spams one by one but I have so many I would like to mass delete them.
Welcome to iMore!

Unfortunately you can't.
Where do you see the Spam? Messages or email?
On the application called MyMail this is possible.

Original thread: https://forums.imore.com/threads/how-can-i-mass-delete-the-identified-spam-on-my-iphone-6.368489/