MailAddressValidator.Validate Fails Syntax Check

MailAddressValidator.Validate(“user@domain”) returns InvalidHost. Expected InvalidFormat.

MailAddressValidator.Validate(“user@domain.”) properly returns InvalidFormat.

user@domain is not a valid email format. Email addresses must contain top level domain (TLD).

Hi,

Even though the specification defines the dot on the domain part as optional, there is no real-world use case for a dot absence, so we added this check to the mail address validation.

Please try again with this latest package:

Install-Package GemBox.Email -Version 2025.4.111-hotfix

Let us know if you need anything else.

Regards,
Mario