private static void SendEmail(int idRegistro) { try { Thread.Sleep(1 * 60 * 1000); } catch (Exception) { } try { EmailUtil email = new EmailUtil(); email.ConstruirEmail(idRegistro); } catch (Exception) { } }
public void ProcessRequest(HttpContext context) { EmailUtil e = new EmailUtil(); e.ConstruirEmail(77); }