private void Enviar() { try { Funciones.Mail(Xl.VEmail, Mailto, Tit, Tex, Xl.VClave, Xl.VHost, Xl.VPort); } catch (Exception ex) { Funciones.Log(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase), ex.Message + ex.StackTrace.Substring(ex.StackTrace.Length - 11)); } }