An open API service indexing awesome lists of open source software.

https://github.com/reflectsoftware/reflectinsight-listeners-email

A ReflectInsight Listener that sends messages to SMTP email
https://github.com/reflectsoftware/reflectinsight-listeners-email

dotnet email logging reflectinsight reflectinsight-listener smtp

Last synced: 5 months ago
JSON representation

A ReflectInsight Listener that sends messages to SMTP email

Awesome Lists containing this project

README

          

# ReflectInsight-Listeners-Email

[![Build status](https://ci.appveyor.com/api/projects/status/github/reflectsoftware/reflectinsight-listeners-email?svg=true)](https://ci.appveyor.com/project/reflectsoftware/reflectinsight-listeners-email)
[![License](https://img.shields.io/:license-MS--PL-blue.svg)](https://github.com/reflectsoftware/reflectinsight-listeners-email/license.md)
[![Release](https://img.shields.io/github/release/reflectsoftware/reflectinsight-listeners-email.svg)](https://github.com/reflectsoftware/reflectinsight-listeners-email/releases/latest)
[![NuGet Version](http://img.shields.io/nuget/v/reflectsoftware.insight.listeners.email.svg?style=flat)](http://www.nuget.org/packages/ReflectSoftware.Insight.Listeners.Email/)
[![Stars](https://img.shields.io/github/stars/reflectsoftware/reflectinsight-listeners-email.svg)](https://github.com/reflectsoftware/reflectinsight-listeners-email/stargazers)

**Package** - [ReflectSoftware.Insight.Listeners.Email](http://www.nuget.org/packages/ReflectSoftware.Insight.Listeners.Email/) | **Platforms** - .NET 4.5.1 and above

## Overview ##

We've added a new destination listener extension for ReflectInsight for sending emails. This new destination listener extension is called ReflectSoftware.Insight.Listeners.Email and allows you to send logging messages via email. This is typically done for Exceptions, Errors and Fatal messages types where you might want to be notified via email if something went wrong in your application.

## Benefits of ReflectInsight Listeners ##

The benefits to using the Insight Listeners is that you can easily and quickly add them to your applicable with little effort and then send ReflectInsight logging messages to other destinations.

## Getting Started

To install ReflectSoftware.Insight.Listeners.Email listener, run the following command in the Package Manager Console:

```powershell
Install-Package ReflectSoftware.Insight.Listeners.Email
```
Then in your app.config or web.config file, add the following configuration sections:

```xml










True
True
YourEmail@Address.com


Application Alert: %message%
High



Message Type: %messagetype%
Category: %category%
Computer: %machine%
Sender Id: %senderid%
Request Id: %requestid%
Process Id: %processid%
Thread Id: %threadid%
Domain Id: %domainid%
Application: %application%
User Domain: %userdomain%
Username: %username%
Timestamp: %time% or %time{dd-MM-yyyy hh:mm:ss.fff}%
%message%


%details%


Please call technical support: 1-888-555-5555
]]>

























```

Additional configuration details for the ReflectSoftware.Insight.Listeners.Email listener can be found [here](https://reflectsoftware.atlassian.net/wiki/display/RI5/Email+Listener).

## Additional Resources

[Documentation](https://reflectsoftware.atlassian.net/wiki/display/RI5/ReflectInsight+5+documentation)

[Submit User Feedback](http://reflectsoftware.uservoice.com/forums/158277-reflectinsight-feedback)

[Contact Support](support@reflectsoftware.com)

[ReflectSoftware Website](http://reflectsoftware.com)