Skip to main content

normalize_msgid

Function normalize_msgid 

Source
pub fn normalize_msgid(msgid: &str) -> String
Expand description

Normalize a Message-ID for lookup/dedup: trim whitespace and lowercase. Angle brackets are preserved if present so display values stay unchanged; comparison keys always use this form so " <A@B> " matches "<a@b>".