maoyuan121 / elmah

Automatically exported from code.google.com/p/elmah
Apache License 2.0
0 stars 0 forks source link

Send email using email module for handled exceptions #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

When ever a handled exception occurs, there is a way to log as below :

try
{
throw new Exception("Here is the problem");
}
catch(Exception ex)
{                                  
Elmah.ErrorSignal.FromCurrentContext().Raise(ex);
// Also it would be good if a static method is exposed to send an email
}

Let me know if Iam missing any.

Cheers
Karthik

Original issue reported on code.google.com by karthikc...@gmail.com on 21 Jul 2010 at 12:34

GoogleCodeExporter commented 9 years ago
Hi there!

This is not an issue... can you please raise this as a question on the 
discussion group?? http://groups.google.com/group/elmah

Original comment by jamesdriscoll71 on 23 Jul 2010 at 12:18

GoogleCodeExporter commented 9 years ago
I didn't say it as an issue mate. Haven't you noticed the type ? It's 
enhancement....

Original comment by karthikc...@gmail.com on 23 Jul 2010 at 12:45