static NotificationSender() { _smtpClient = new SmtpClient(); _isSmtpConfigured = !String.IsNullOrEmpty(_smtpClient.Host); _mailSendingInProgress = false; TestMode = false; }