Avoid use of deprecated alias SmtpClientSettings.