A collection of message middlewares for go-mail
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.WithMiddleware() option. This allows the use of 3rd party libraries with
go-mail mail messages,
go-mail itself dependancy free.
List of currently supported middlewares
- subject_capitalize: Capitalizes the subject of the message matching the given language