MailForge
2.0.1
MailForge is a PowerShell module for automated email delivery, template management, and mass mailing. It supports dynamic templates with placeholders, Excel-based recipient lists, and integrates with modern SMTP systems for secure, scalable communication.
Minimum PowerShell version
5.0
Installation Options
Owners
Copyright
Copyright (c) 2025 Sascha Spiekermann
Package Details
Author(s)
- Sascha Spiekermann
Tags
mail email template automation powershell smtp massmail psframework
Functions
Get-MForgeMailDefault Initialize-MForgeMailDefault Invoke-MForgeTemplate Register-MForgeTemplate Remove-MForgeTemplate Send-MForgeMail
Dependencies
-
- ImportExcel (>= 7.8.10)
- PSFramework (>= 1.13.414)
- PSModuleDevelopment (>= 2.2.13.176)
- Send-MailKitMessage (>= 3.2.0)
Release Notes
v2.0.1 (2025-10-29)
- Help comments for Invoke-MForgeTemplate improved and translated to English.
- Examples in Invoke-MForgeTemplate help block now include explanations and blank lines.
- Mandatory parameter "TemplateType" no longer has a default value in Invoke-MForgeTemplate.
- TemplateFile parameters now strictly check if the file exists before execution.
- Internal preparations for further PSScriptAnalyzer compliance and refactoring.
v2.0.0 (2025-10-29)
- Breaking Change: Renamed Send-MForgeMail to Send-MForgeSingleMail, moved it to internal functions.
- Breaking Change: Renamed Send-MForgeMassMail to Send-MForgeMail.
- Subject parameter now supports template strings with placeholders (þ...þ), resolved per mail.
- Improved error handling for missing Subject or Recipient (Test-MForgeParameter).
- Enhanced pipeline and parameter handling for mass mail scenarios.
- Documentation and comments translated to English.
- Various bugfixes and refactoring for consistency.
v1.1.0 (2025-10-24)
- Breaking Change: The parameters `MailToColumn` and `SubjectColumn` have been renamed to `MailToAttr` and `SubjectAttr` and now have default values 'MailTo' and 'Subject'.
If the parameters `RecipientList` or `Subject` are provided, they override the values from the data.
Note: This breaking change does not lead to v2, as the module is still very new.
- Enhancement: Mass mail data can now also be provided directly via parameter or pipeline, not only via Excel.
v1.0.0 (2025-10-16)
- Initial Release
FileList
- MailForge.nuspec
- changelog.md
- functions\Register-MForgeTemplate.ps1
- internal\functions\Get-MForgeMailDefault.ps1
- internal\tepp\MForgeTemplateNames.tepp.ps1
- functions\Remove-MForgeTemplate.ps1
- internal\functions\readme.md
- internal\tepp\readme.md
- MailForge.psd1
- functions\Remove-MForgeTemplateOrphan.ps1
- internal\functions\Send-MForgeSingleMail.ps1
- tests\functions\readme.md
- MailForge.psm1
- functions\Send-MForgeMail.ps1
- internal\functions\Test-MForgeParameter.ps1
- tests\general\FileIntegrity.Exceptions.ps1
- readme.md
- functions\Send-MForgeMassMail.ps1
- internal\scriptblocks\scriptblocks.ps1
- tests\general\FileIntegrity.Tests.ps1
- bin\readme.md
- tests\pester.ps1
- internal\scripts\license.ps1
- tests\general\Help.Exceptions.ps1
- en-us\about_MailForge.help.txt
- tests\readme.md
- internal\scripts\postimport.ps1
- tests\general\Help.Tests.ps1
- en-us\strings.psd1
- xml\MailForge.Format.ps1xml
- internal\scripts\preimport.ps1
- tests\general\Manifest.Tests.ps1
- functions\Get-MForgeMailDefault.ps1
- xml\MailForge.Types.ps1xml
- internal\scripts\strings.ps1
- tests\general\PSScriptAnalyzer.Tests.ps1
- functions\Initialize-MForgeMailDefault.ps1
- xml\readme.md
- internal\tepp\assignment.ps1
- tests\general\strings.Exceptions.ps1
- functions\Invoke-MForgeTemplate.ps1
- internal\configurations\configuration.ps1
- internal\tepp\example.tepp.ps1
- tests\general\strings.Tests.ps1
- functions\readme.md
- internal\configurations\readme.md
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 2.0.1 (current version) | 4 | 10/29/2025 |
| 2.0.0 | 4 | 10/29/2025 |
| 1.0.0 | 5 | 10/16/2025 |