pub fn canonicalize_email(address: &str) -> Result<String>Expand description
Public helpers and result types exposed by the threepid service.
Email canonicalization produces storage keys, while pending outcomes tell callers whether a verification message must be sent. Both APIs preserve the service’s canonical addressing rules. Public helpers and result types exposed by the threepid service.
Email canonicalization produces storage keys, while pending outcomes tell callers whether a verification message must be sent. Both APIs preserve the service’s canonical addressing rules. Public helpers and result types exposed by the threepid service.
Email canonicalization produces storage keys, while pending outcomes tell callers whether a verification message must be sent. Both APIs preserve the service’s canonical addressing rules. Canonicalizes an email address for storage and matching.
Both components are lowercased, and ß is expanded to ss, so
Strauß@Example.com and strauss@example.com share one key.
Returns an error when the address exceeds 500 bytes or its final @ does
not separate nonempty local and domain parts.