github wneessen/go-mail v0.3.6
v0.3.6: Bugfixes and improvements

latest releases: v0.7.2, v0.7.1, v0.7.0...
3 years ago

This release is mainly a bugfix release but also introduces slight improvements.

One major bugfix is in Client.Send(), not sending all mails in case an error occured during a bulk mailing. Client.Send() provides the possibility to send multiple *Msg in one go. If one of the *Msg caused an error with the sending mail server, we were returning completely, while not processing any *Msg that came after the failing message.

This release fixes this behaviour by processing each message first and then return a accumulated error in case any of the *Msg processing failed

Additionally, this release separates the Client.Send() method into two different versions. One that makes use of the new errors.Join() functionality that is introduced with Go 1.20 and one that handles it the old way for any supported version lower than Go 1.20

Also welcome @james-d-elliott as new contributor to the project, providing a bugfix in the Client.Dialer and adding an option to disable NOOP calls. Thanks for the contribution, James!

What's Changed

New Contributors

Full Changelog: v0.3.5...v0.3.6

Don't miss a new go-mail release

NewReleases is sending notifications on new releases.