With the latest go-mail release, we now support DKIM natively without the need of the middleware (as promised some time ago ;) ). I suggest to upgrade to go-mail v0.8.0 and then replace the code that does the middlware injection with the native implementation.
Happy to provide a PR if you want.
With the latest go-mail release, we now support DKIM natively without the need of the middleware (as promised some time ago ;) ). I suggest to upgrade to go-mail v0.8.0 and then replace the code that does the middlware injection with the native implementation.
Happy to provide a PR if you want.