{"id":13430916,"url":"https://github.com/axuno/MailMergeLib","last_synced_at":"2025-03-16T06:31:35.829Z","repository":{"id":10285359,"uuid":"65214556","full_name":"axuno/MailMergeLib","owner":"axuno","description":"MailMergeLib is a mail message client library which provides comfortable mail merge capabilities for text, inline images and attachments, as well as good throughput and fault tolerance for sending mail messages.","archived":false,"fork":false,"pushed_at":"2024-07-30T09:59:58.000Z","size":10565,"stargazers_count":111,"open_issues_count":0,"forks_count":33,"subscribers_count":12,"default_branch":"main","last_synced_at":"2024-09-30T15:46:38.697Z","etag":null,"topics":["dotnet-framework","email","mail","merge","mime","netcore","netstandard","smtp","template"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/axuno.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2016-08-08T15:12:20.000Z","updated_at":"2024-09-18T15:24:30.000Z","dependencies_parsed_at":"2023-10-20T18:00:12.206Z","dependency_job_id":"5e1f395a-2635-4f97-a01c-4352d43798e9","html_url":"https://github.com/axuno/MailMergeLib","commit_stats":{"total_commits":300,"total_committers":4,"mean_commits":75.0,"dds":0.36,"last_synced_commit":"65912895cf3701cc71e8844d7484f1980d030a63"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FMailMergeLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FMailMergeLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FMailMergeLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axuno%2FMailMergeLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axuno","download_url":"https://codeload.github.com/axuno/MailMergeLib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221656473,"owners_count":16858777,"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","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-framework","email","mail","merge","mime","netcore","netstandard","smtp","template"],"created_at":"2024-07-31T02:00:58.947Z","updated_at":"2024-10-27T09:31:06.145Z","avatar_url":"https://github.com/axuno.png","language":"C#","readme":"\u003cimg src=\"https://raw.githubusercontent.com/axuno/MailMergeLib/main/MailMergeLlib.png\" width=\"300\" alt=\"Logo\"\u003e\n\n[![GitHub release](https://img.shields.io/github/release/axuno/mailmergelib.svg)](https://github.com/axuno/MailMergeLib/releases/latest)\n[![License: MIT](https://img.shields.io/badge/License-MIT-brightgreen.svg)](https://github.com/axuno/MailMergeLib/blob/main/License.txt)\n\n[![AppVeyor build status windows](https://img.shields.io/appveyor/job/build/axuno/MailMergeLib/windows/main?label=windows%20build)](https://ci.appveyor.com/project/axuno/mailmergelib/branch/main)\n[![AppVeyor build status linux](https://img.shields.io/appveyor/job/build/axuno/MailMergeLib/linux/main?label=linux%20build)](https://ci.appveyor.com/project/axuno/mailmergelib/branch/main)\n[![AppVeyor tests (compact)](https://img.shields.io/appveyor/tests/axuno/mailmergelib?compact_message)](https://ci.appveyor.com/project/axuno/mailmergelib/branch/main)\n[![CodeCoverage](https://codecov.io/gh/axuno/MailMergeLib/branch/main/graph/badge.svg)](https://codecov.io/gh/axuno/MailMergeLib/tree/a9ecf7e4bdf708cf0bc1f393136faa7c0de7875c/MailMergeLib)\n\n### What is *MailMergeLib*?\n\n```MailMergeLib``` version 5 is an SMTP mail client library which provides comfortable mail merge capabilities. ```MailMergeLib``` is written in C# and comes with **the following features**:\n\n### Mail message generation\n* Email templates can be fully individualized in terms of recipients, subject, HTML and/or plain text, attachments and even headers. Placeholders are inserted as variable names from data source between curly braces like so: ```{MailboxAddress.Name}``` or with formatting arguments like ```{Date:yyyy-MM-dd}```.\n* HTML text may contain images from local hard disk, which will be automatically inserted as inline attachments.\n* For HTML text  ```MailMergeLib ``` can generate a plain text representation.\n* Attachment sources can be files, streams or strings.\n* The data source for email merge messages to a number of recipients and be any ```IEnumerable``` object as well as ```DataTable```s. The data source for single emails can be any of the following types: ```Dictionary\u003cstring,object\u003e```, ```ExpandoObject```, ```DataRow```, any class instance or anonymous types. For class instances it's even allowed to use the name of parameter less methods in placeholders.\n* Placeholders in the email can be formatted much like the features known from `string.Format` by using [SmartFormat.NET](https://github.com/axuno/MailMergeLib/wiki). SmartFormat is a fast and lean string parser and formatter, bringing a lot of additional options like conditional output depending on input data.\n* Resulting emails are MimeMessages from [MimeKit](https://github.com/jstedfast/MimeKit), an outstanding tool for creating and parsing emails, covering all relevant MIME standards.\n* Support for international email address format.\n\n### Sending email messages\n* Practically unlimited number of parallel tasks to send out individualized emails to a big number of recipients.\n* SmptClients for each task can get their own preconfigured settings, so that e.g. several mail servers can be used for one send job.\n* Progress of processing emails can easily be observed with a number of events.\n* SMTP failures can automatically be resolved supplying a backup configuration. This fault-tolerance is essential for unattended production systems.\n* Emails are sent using the SmtpClient from [MailKit](https://github.com/jstedfast/MailKit), the sister project to MimeKit. SmtpClient is highly flexible and can be configured for literally every scenario you can think of.\n* Instead of sending, emails can also be stored in MIME formatted text files, e.g. if a \"pickup directory\" from IIS or Microsoft Exchange shall be used. If needed, these files can be loaded back into a MimeMessage from MimeKit.\n\n### Save and restore\n* Messages and templates can be saved and loaded to/from XML files.\n* Configuration settings for messages and SMTP can be stored to and loaded from an XML file.\n\n### Both\n* Fine grained control over the whole process of email message generation and distribution.\n* RFC standards compliant.\n* We aks you not to use ```MailMergeLib``` for sending unsolicited bulk email.\n\n### Supported Frameworks\n* .Net Framework 4.6.2 and later\n* .Net Standard 2.1\n* NET 6.0 and later\n\n[![Paypal-Donations](https://img.shields.io/badge/Donate-PayPal-important.svg?style=flat-square)](https://www.paypal.com/donate?hosted_button_id=KSC3LRAR26AHN)\n\n### Get started\n[![NuGet](https://img.shields.io/nuget/v/MailMergeLib.svg)](https://www.nuget.org/packages/MailMergeLib/) Install the NuGet package\n\n[![Docs](https://img.shields.io/badge/docs-up%20to%20date-brightgreen.svg)](https://github.com/axuno/MailMergeLib/wiki)\nHave a closer look at the [MailMergeLib Wiki](https://github.com/axuno/MailMergeLib/wiki)\n","funding_links":["https://www.paypal.com/donate?hosted_button_id=KSC3LRAR26AHN"],"categories":["Frameworks, Libraries and Tools","框架, 库和工具","Mail"],"sub_categories":["Mail","邮件"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxuno%2FMailMergeLib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxuno%2FMailMergeLib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxuno%2FMailMergeLib/lists"}