Fixes SmtpMailProvider to read port sub-setting.