RequestLogMonitorSendNotification Method |
Sends a custom email notification to the RequestLogMonitor mailing list.
Note that the entire method body is wrapped in a try/catch block so no error will ever be thrown.
Any caught error will be logged to the devlog, but WILL NOT be logged to the request log.
Namespace:
NetQuarry.Core.ScheduledTasks
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void SendNotification(
IAppContext cxt,
string subject,
string bodyHtml,
string prefaceHtml = null
)
Public Shared Sub SendNotification (
cxt As IAppContext,
subject As String,
bodyHtml As String,
Optional prefaceHtml As String = Nothing
)
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - subject
- Type: SystemString
The email subject. - bodyHtml
- Type: SystemString
The main body of the email, as HTML. - prefaceHtml (Optional)
- Type: SystemString
An optional email body preface (as HTML) prepended to the email with an HTML HR separator.
See Also