static void Main(string[] args) { MandarCorreos mc = new MandarCorreos(); List <string> err = mc.armarCorreos(); if (err.Count > 1) { MailErrores me = new MailErrores(); me.enviarErrores(err); } }
static void Main(string[] args) { Modelos m = new Modelos(); List <string> err = m.leerArchivos(); if (err.Count > 1) { MailErrores me = new MailErrores(); //me.enviarErrores(err); } }