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

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name MailForge

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name MailForge

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

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

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

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