Fix issue in SmtpUrl for web.config causing exception at runtime