normalize_email_policy_domain

Function normalize_email_policy_domain 

Source
pub fn normalize_email_policy_domain(domain: &str) -> Result<String>
Expand description

Normalizes an exact email domain policy entry.

ยงErrors

Returns an error when the domain is empty, too long, non-ASCII, structurally malformed, or contains characters other than ASCII letters, digits, hyphens, and dots.