---
title: "reportSpam(_:)"
framework: TelephonyMessagingKit
role: symbol
role_heading: Instance Method
platforms: [iOS 26.0+]
path: "telephonymessagingkit/mmsservice/reportspam(_:)"
---

# reportSpam(_:)

Reports an MMS message as spam to the carrier and to partners.

## Declaration

```swift
final func reportSpam(_ message: MMSMessage) async throws
```

## Parameters

- `message`: MMSMessage that needs to be reported as spam.

## Discussion

Discussion note: TelephonyMessagingSession.SessionError.invalidSession when session has been invalidated. MMSService.Error.notSupported when spam reporting is not supported by carrier.
