A collection of message middlewares for go-mail

GoDoc codecov Go Report Card #go-mail on Discord REUSE status buy ma a coffee

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


View Github