v0.3.6: Bugfixes and improvements
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
- Fix #85: Client.Send() failing for all messages if one is broken by @wneessen in #86
- fix: tls config unused with dialer by @james-d-elliott in #87
- feat: without noop option by @james-d-elliott in #88
New Contributors
- @james-d-elliott made their first contribution in #87
Full Changelog: v0.3.5...v0.3.6