iOS 26 introduces message filtering: it alerts users to verification codes and lets them view unknown senders' messages separately

The Messages app in iOS 26 lets users filter out messages from unknown senders; such messages go into a separate list. Users can also keep time-sensitive notifications enabled to avoid missing verification codes or delivery alerts. Spam messages can be swiped left to delete and report, while messages mistakenly flagged as spam can be restored to the main list.

AppleInsider