Home

Awesome

<!-- SPDX-FileCopyrightText: 2022 Winni Neessen <winni@neessen.dev> SPDX-License-Identifier: CC0-1.0 -->

A collection of message middlewares for go-mail

GoDoc codecov Go Report Card #go-mail on Discord REUSE status <a href="https://ko-fi.com/D1D24V9IX"><img src="https://uploads-ssl.webflow.com/5c14e387dab576fe667689cf/5cbed8a4ae2b88347c06c923_BuyMeACoffee_blue.png" height="20" alt="buy ma a coffee"></a>

What is this?

This repository is a collection of different useful middlewares for go-mail. Since we want to keep go-mail free of third party dependencies and only depend on the Go Standard Library, we introduce a Middleware concept in version v0.2.8. This allows the user to alter a mail.Msg according to their needs by simple implementing tool that satisfies the mail.Middleware interface and provide it to the mail.Msg with the mail.WithMiddleware() option. This allows the use of 3rd party libraries with go-mail mail messages, while keeping go-mail itself dependancy free.

List of currently supported middlewares