pub fn email_port_matches_encryption(port: u16, encryption: &str) -> boolExpand description
Validates an SMTP port against the selected encryption mode.
§Parameters
port: Input consumed bycrate::runtime::business::email_port_matches_encryption.encryption: Input consumed bycrate::runtime::business::email_port_matches_encryption.
§Returns
Returns true when the condition checked by crate::runtime::business::email_port_matches_encryption holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::business::email_port_matches_encryption("8080", todo!());§Related
crate::runtime::businessfor adjacent helpers that share the same runtime surface.