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
- Host: GitHub
- URL: https://github.com/reflectsoftware/reflectinsight-listeners-email
- Owner: reflectsoftware
- License: ms-pl
- Created: 2015-05-01T03:35:12.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-10-01T16:34:46.000Z (over 7 years ago)
- Last Synced: 2025-08-28T09:01:17.099Z (6 months ago)
- Topics: dotnet, email, logging, reflectinsight, reflectinsight-listener, smtp
- Language: C#
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ReflectInsight-Listeners-Email
[](https://ci.appveyor.com/project/reflectsoftware/reflectinsight-listeners-email)
[](https://github.com/reflectsoftware/reflectinsight-listeners-email/license.md)
[](https://github.com/reflectsoftware/reflectinsight-listeners-email/releases/latest)
[](http://www.nuget.org/packages/ReflectSoftware.Insight.Listeners.Email/)
[](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)