{"id":31578009,"url":"https://github.com/nlog/nlog.targets.mail","last_synced_at":"2026-05-16T11:03:25.411Z","repository":{"id":315918947,"uuid":"1048608189","full_name":"NLog/NLog.Targets.Mail","owner":"NLog","description":"NLog target for sending logevents as email messages using SMTP","archived":false,"fork":false,"pushed_at":"2026-04-19T10:26:10.000Z","size":262,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-19T12:25:23.215Z","etag":null,"topics":["csharp","dotnet","email-sender","nlog","nlog-target","smtp-client"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NLog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-01T18:09:15.000Z","updated_at":"2026-04-19T10:26:14.000Z","dependencies_parsed_at":"2025-09-21T17:28:56.046Z","dependency_job_id":"6e938e55-ebb3-41f3-a0d4-3114b83df136","html_url":"https://github.com/NLog/NLog.Targets.Mail","commit_stats":null,"previous_names":["nlog/nlog.targets.mail"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/NLog/NLog.Targets.Mail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLog%2FNLog.Targets.Mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLog%2FNLog.Targets.Mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLog%2FNLog.Targets.Mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLog%2FNLog.Targets.Mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NLog","download_url":"https://codeload.github.com/NLog/NLog.Targets.Mail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NLog%2FNLog.Targets.Mail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33100319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csharp","dotnet","email-sender","nlog","nlog-target","smtp-client"],"created_at":"2025-10-05T19:20:55.491Z","updated_at":"2026-05-16T11:03:25.406Z","avatar_url":"https://github.com/NLog.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NLog Mail Target\n\n[![Version](https://badge.fury.io/nu/NLog.Targets.Mail.svg)](https://www.nuget.org/packages/NLog.Targets.Mail)\n[![AppVeyor](https://img.shields.io/appveyor/ci/NLog/NLog-Targets-Mail/master.svg)](https://ci.appveyor.com/project/nlog/NLog-Targets-Mail/branch/master)\n\nNLog Mail Target for sending email using .NET SmtpClient for each logevent.\n- Can also be combined with [FallbackGroup](https://github.com/NLog/NLog/wiki/FallbackGroup-target) to fallback to alternative SMTP-server on error.\n- Can also be combined with [BufferingWrapper](https://github.com/NLog/NLog/wiki/BufferingWrapper-target) to group multiple logevents into a single email.\n- Can also be combined with [LimitingWrapper](https://github.com/NLog/NLog/wiki/LimitingWrapper-target) to throttle the number of emails.\n- Can also be combined with [FilteringWrapper](https://github.com/NLog/NLog/wiki/FilteringWrapper-target) to avoid repeating identical emails.\n\nIf having trouble with output, then check [NLog InternalLogger](https://github.com/NLog/NLog/wiki/Internal-Logging) for clues. See also [Troubleshooting NLog](https://github.com/NLog/NLog/wiki/Logging-Troubleshooting)\n\nSee the [NLog Wiki](https://github.com/NLog/NLog/wiki/Mail-target) for available options and examples.\n\nNote there is also an alternative [NLog.MailKit](https://www.nuget.org/packages/NLog.MailKit)-nuget-package that depends on the MailKit-library.\n\n## Register Extension\n\nNLog will only recognize type-alias `Mail` when loading from `NLog.config`-file, if having added extension to `NLog.config`-file:\n\n```xml\n\u003cextensions\u003e\n    \u003cadd assembly=\"NLog.Targets.Mail\"/\u003e\n\u003c/extensions\u003e\n```\n\nAlternative register from code using [fluent configuration API](https://github.com/NLog/NLog/wiki/Fluent-Configuration-API):\n\n```csharp\nLogManager.Setup().SetupExtensions(ext =\u003e {\n   ext.RegisterTarget\u003cNLog.Targets.MailTarget\u003e();\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlog%2Fnlog.targets.mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnlog%2Fnlog.targets.mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnlog%2Fnlog.targets.mail/lists"}