Click or drag to resize

AddressValidatorValidateMX Method

Validates email address format and the existence of MX record.

Namespace: Limilabs.Mail.Tools
Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntax
public AddressValidationResult ValidateMX(
	string address
)

Parameters

address  String
Email address to validate (e.g. mail@example.com).

Return Value

AddressValidationResult
Result of the validation.
Remarks
If no MX record is found, the address should be treated as if it was associated with an implicit MX RR, with a preference of 0, pointing to that host. That is if no MX record is present mail servers should fall back to the A record for the domain.
See Also