Skip to main content

email_port_matches_encryption

Function email_port_matches_encryption 

Source
pub fn email_port_matches_encryption(port: u16, encryption: &str) -> bool
Expand description

Validates an SMTP port against the selected encryption mode.

§Parameters

§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!());