Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
As backbone for my form mailing microservice js-mailer, I've created go-mail as a state of the art Go mail libarary that is comprehensive, yet easy to use.
$ go run main.go Date: Sat, 08 Oct 2022 12:47:50 +0200 MIME-Version: 1.0 Message-ID: <[email protected]> Subject: Why are you not using go-mail yet? User-Agent: go-mail v0.2.9 // https://github.com/wneessen/go-mail X-Mailer: go-mail v0.2.9 // https://github.com/wneessen/go-mail From: To: Content-Type: multipart/alternative; boundary=9c5a427bc18e45ff56e0b8f7053cddceaca54a5c985a425213544ab7977f --9c5a427bc18e45ff56e0b8f7053cddceaca54a5c985a425213544ab7977f Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 You won't need a sales pitch. It's FOSS and HTML! --9c5a427bc18e45ff56e0b8f7053cddceaca54a5c985a425213544ab7977f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 You won't need a sales pitch. It's FOSS and plain text! --9c5a427bc18e45ff56e0b8f7053cddceaca54a5c985a425213544ab7977f--
Inspired by this cool feature, I started an additional GH repository called go-mail-middleware, which is supposed to be a collection of useful middlwares that interact with go-mail. For now I've only added a simple subject capitalization middleware but I am hoping that other users will provide cool stuff there as well in the future. If you have a cool idea for a mail middleware, a PR is more than welcome.