{"id":24129381,"url":"https://github.com/reflectsoftware/reflectinsight-listeners-email","last_synced_at":"2025-09-07T20:11:24.153Z","repository":{"id":31325827,"uuid":"34888343","full_name":"reflectsoftware/reflectinsight-listeners-email","owner":"reflectsoftware","description":"A ReflectInsight Listener that sends messages to SMTP email","archived":false,"fork":false,"pushed_at":"2018-10-01T16:34:46.000Z","size":44,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-28T09:01:17.099Z","etag":null,"topics":["dotnet","email","logging","reflectinsight","reflectinsight-listener","smtp"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"ms-pl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reflectsoftware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-01T03:35:12.000Z","updated_at":"2018-10-01T16:34:47.000Z","dependencies_parsed_at":"2022-09-22T16:01:36.647Z","dependency_job_id":null,"html_url":"https://github.com/reflectsoftware/reflectinsight-listeners-email","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/reflectsoftware/reflectinsight-listeners-email","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflectsoftware%2Freflectinsight-listeners-email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflectsoftware%2Freflectinsight-listeners-email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflectsoftware%2Freflectinsight-listeners-email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflectsoftware%2Freflectinsight-listeners-email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reflectsoftware","download_url":"https://codeload.github.com/reflectsoftware/reflectinsight-listeners-email/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reflectsoftware%2Freflectinsight-listeners-email/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274088625,"owners_count":25220260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotnet","email","logging","reflectinsight","reflectinsight-listener","smtp"],"created_at":"2025-01-11T19:31:39.028Z","updated_at":"2025-09-07T20:11:24.118Z","avatar_url":"https://github.com/reflectsoftware.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReflectInsight-Listeners-Email\n\n[![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)\n[![License](https://img.shields.io/:license-MS--PL-blue.svg)](https://github.com/reflectsoftware/reflectinsight-listeners-email/license.md)\n[![Release](https://img.shields.io/github/release/reflectsoftware/reflectinsight-listeners-email.svg)](https://github.com/reflectsoftware/reflectinsight-listeners-email/releases/latest)\n[![NuGet Version](http://img.shields.io/nuget/v/reflectsoftware.insight.listeners.email.svg?style=flat)](http://www.nuget.org/packages/ReflectSoftware.Insight.Listeners.Email/)\n[![Stars](https://img.shields.io/github/stars/reflectsoftware/reflectinsight-listeners-email.svg)](https://github.com/reflectsoftware/reflectinsight-listeners-email/stargazers)\n\n**Package** - [ReflectSoftware.Insight.Listeners.Email](http://www.nuget.org/packages/ReflectSoftware.Insight.Listeners.Email/) | **Platforms** - .NET 4.5.1 and above\n\n## Overview ##\n\nWe'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.\n\n## Benefits of ReflectInsight Listeners ##\n\nThe 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.\n\n## Getting Started\n\nTo install ReflectSoftware.Insight.Listeners.Email listener, run the following command in the Package Manager Console:\n\n```powershell\nInstall-Package ReflectSoftware.Insight.Listeners.Email\n```\nThen in your app.config or web.config file, add the following configuration sections:\n\n```xml\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003cconfiguration\u003e\n  \u003cconfigSections\u003e        \n    \u003csection name=\"insightSettings\" type=\"ReflectSoftware.Insight.ConfigurationHandler,ReflectSoftware.Insight\"/\u003e\n  \u003c/configSections\u003e\n\t\n  \u003cinsightSettings\u003e\n    \u003clisteners\u003e\n      \u003clistener name=\"Email\" type=\"ReflectSoftware.Insight.Listeners.ListenerEmail, ReflectSoftware.Insight.Listeners.Email\"/\u003e\n    \u003c/listeners\u003e\n\n    \u003cemailDetails\u003e\n      \u003cdetails name=\"emailDetails1\"\u003e\n        \u003cAsync\u003eTrue\u003c/Async\u003e\n        \u003cIsHtml\u003eTrue\u003c/IsHtml\u003e\n        \u003ctoAddresses\u003eYourEmail@Address.com\u003c/toAddresses\u003e\n        \u003cccAddresses\u003e\u003c/ccAddresses\u003e\n        \u003cbccAddresses\u003e\u003c/bccAddresses\u003e\n        \u003csubject\u003eApplication Alert: %message%\u003c/subject\u003e\n        \u003cpriority\u003eHigh\u003c/priority\u003e\n        \u003cbody\u003e\n          \u003c![CDATA[\n          The following error was detected in application: '%application%'\u003cbr/\u003e\u003cbr/\u003e          \n          Message Type: %messagetype% \n\t\t\t    Category:     %category% \n\t\t\t    Computer:     %machine% \n\t\t\t    Sender Id:    %senderid% \n\t\t\t    Request Id:   %requestid% \n\t\t\t    Process Id:   %processid% \n\t\t\t    Thread Id:    %threadid% \n\t\t\t    Domain Id:    %domainid% \n\t\t\t    Application:  %application% \n\t\t\t    User Domain:  %userdomain% \n\t\t\t    Username:     %username%\n                            Timestamp:    %time% or %time{dd-MM-yyyy hh:mm:ss.fff}%\n          \u003cb\u003e%message%\u003c/b\u003e\u003cbr/\u003e\u003cbr/\u003e  \n          \u003cb\u003e%details%\u003c/b\u003e\u003cbr/\u003e\u003cbr/\u003e\n          Please call technical support: 1-888-555-5555\n          ]]\u003e\n        \u003c/body\u003e\n      \u003c/details\u003e\n    \u003c/emailDetails\u003e\n\n    \u003clistenerGroups active=\"Active\"\u003e\n      \u003cgroup name=\"Active\" enabled=\"true\" maskIdentities=\"false\"\u003e\n        \u003cdestinations\u003e\n          \u003cdestination name=\"Email\" enabled=\"true\" filter=\"ErrorWarningFilter\" details=\"Email[details=emailDetails1]\"/\u003e\n        \u003c/destinations\u003e\n      \u003c/group\u003e\n    \u003c/listenerGroups\u003e\n    \n    \u003cfilters\u003e\n      \u003cfilter name=\"ErrorWarningFilter\" mode=\"Include\"\u003e\n        \u003cmethod type=\"SendError\"/\u003e\n        \u003cmethod type=\"SendException\"/\u003e\n        \u003cmethod type=\"SendFatal\"/\u003e\n      \u003c/filter\u003e\n    \u003c/filters\u003e\n  \u003c/insightSettings\u003e\n\t\n\t\u003csystem.net\u003e\n\t\t\u003cmailSettings\u003e\n\t\t\t\u003csmtp from=\"ReflectInsight@demo.com\"\u003e\n\t\t\t\t\u003cnetwork host=\"smtpserver1\" port=\"25\" userName=\"username\" password=\"secret\" defaultCredentials=\"true\"/\u003e\n\t\t\t\u003c/smtp\u003e\n\t\t\u003c/mailSettings\u003e\n\t\u003c/system.net\u003e\n\u003c/configuration\u003e\n```\n\nAdditional configuration details for the ReflectSoftware.Insight.Listeners.Email listener can be found [here](https://reflectsoftware.atlassian.net/wiki/display/RI5/Email+Listener).\n\n## Additional Resources\n\n[Documentation](https://reflectsoftware.atlassian.net/wiki/display/RI5/ReflectInsight+5+documentation)\n\n[Submit User Feedback](http://reflectsoftware.uservoice.com/forums/158277-reflectinsight-feedback)\n\n[Contact Support](support@reflectsoftware.com)\n\n[ReflectSoftware Website](http://reflectsoftware.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freflectsoftware%2Freflectinsight-listeners-email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freflectsoftware%2Freflectinsight-listeners-email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freflectsoftware%2Freflectinsight-listeners-email/lists"}