<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MailKit",
  "identifier" : "/documentation/MailKit/MEAddressAnnotation/warning(withLocalizedDescription:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "MailKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MEAddressAnnotation(cm)warningWithLocalizedDescription:"
  },
  "title" : "warning(withLocalizedDescription:)"
}
-->

# warning(withLocalizedDescription:)

Indicates an address may be invalid or needs attention.

```
class func warning(withLocalizedDescription localizedDescription: String) -> MEAddressAnnotation
```

## Parameters

`localizedDescription`

A user-visible string with details about why the recipient needs attention.

## Return Value

An annotation that indicates an email address may not be valid or needs attention.

---

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)