Skip to main content

message_id_domain

Function message_id_domain 

Source
pub fn message_id_domain(email: &str) -> Option<String>
Expand description

The domain part of email, when it can serve as a Message-ID’s right half: a dot-separated run of letters, digits and hyphens.

Anything else (no @, an address literal, a stray character) is None, so a malformed address can never inject into the header.