---
title: "success(withLocalizedDescription:)"
framework: mailkit
role: symbol
role_heading: Type Method
path: "mailkit/meaddressannotation/success(withlocalizeddescription:)"
---

# success(withLocalizedDescription:)

Indicates an address is valid and correct.

## Declaration

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

## Parameters

- `localizedDescription`: A user-visible string with details about the address, such as the full name of the recipient.

## Return Value

Return Value An annotation that indicates an email address is valid.

## See Also

### Specifying Email Address Validity

- [warning(withLocalizedDescription:)](mailkit/meaddressannotation/warning(withlocalizeddescription:).md)
- [error(withLocalizedDescription:)](mailkit/meaddressannotation/error(withlocalizeddescription:).md)
