private static IEnumerable <string> GetRecipients() { if (File.Exists(Path.Combine(Directory.GetCurrentDirectory(), "Recipients.xml"))) { return(RecipientList.Get("errors")); } else { return(Config.Get("recipients").Split(',')); } }