/// <summary> /// Partially check whether an email address is valid /// </summary> /// Validate an email address by identifying whether its parent domain has /// email servers defined. This call is less limited than syntaxOnly but not /// as comprehensive as address/full. /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='email'> /// Email address to validate, e.g. "*****@*****.**" /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <AddressGetServersOKResponse> AddressGetServersAsync(this IEmail operations, string email, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.AddressGetServersWithHttpMessagesAsync(email, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }