public bool ValidateFromAddress() { if (Enabled == false) { return(true); } if (String.IsNullOrEmpty(FromAddress)) { return(false); } return(SendMailService.ValidateEmail(FromAddress)); }