<!--
{
  "availability" : [
    "iOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TelephonyMessagingKit",
  "identifier" : "/documentation/TelephonyMessagingKit/MMSService/reportSpam(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "TelephonyMessagingKit"
    ],
    "preciseIdentifier" : "s:21TelephonyMessagingKit10MMSServiceC10reportSpamyyAA10MMSMessageVYaKF"
  },
  "title" : "reportSpam(_:)"
}
-->

# reportSpam(_:)

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

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

## Parameters

`message`

`MMSMessage` that needs to be reported as spam.

## Discussion> Throws:
> 
> - `TelephonyMessagingSession.SessionError.invalidSession` when session has been invalidated.
> - `MMSService.Error.notSupported` when spam reporting is not supported by carrier.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)