Is there a way to block emails from certain users?

Is there a way to block emails from certain users?

Posted via the iMore App for Android
You can usually login to your email service via a computer and set a filter to prevent email from certain addresses from going to your inbox.

iCloud: Identifying and filtering junk mail
And for the gmail users out there.....

https://support.google.com/mail/answer/6579?hl=en

Original thread: https://forums.imore.com/threads/is-there-a-way-to-block-emails-from-certain-users.305294/