
## Validate (1 of 2) {#validate_1}

Validate email address, with the MailServer validation policy.

**Returns:** void Aspose::Email::Tools::Verifications::

```cpp
Validate(System::String mailAddress, System::SharedPtr < ValidationResult > & result)
```

| Parameter | Description |
| --- | --- |
| mailAddress | The Email address to be validated. |
| result | The result of the validation. |

---

## Validate (2 of 2) {#validate_2}

Validating the email address

**Returns:** void Aspose::Email::Tools::Verifications::

```cpp
Validate(System::String mailAddress, ValidationPolicy policy, System::SharedPtr < ValidationResult > & result)
```

| Parameter | Description |
| --- | --- |
| mailAddress | The mail address to be validated. |
| policy | The policy of the validating process. |
| result | The result of the validating process. |

