normalize_smtp_port_config_value

Function normalize_smtp_port_config_value 

Source
pub fn normalize_smtp_port_config_value(value: &str) -> MailConfigResult<String>
Expand description

Normalizes an SMTP port value.

ยงErrors

Returns MailConfigError when the supplied value violates the corresponding mail setting contract.