Skip to content

Releases: wneessen/go-mail

v0.1.4: Change in Write functions and lots of test **BREAKING CHANGE**

18 Mar 16:36
00264b6
Compare
Choose a tag to compare

Changelog

  • BREAKING CHANGE 709b4e6 adds an int64 return value to the various Writer functions. A test on the Msg.Write() method showed, that the returned number of bytes does not match the actul number of bytes returned. Reason for this was that the body writing methods were not counting the bytes, which I see as an incorrect behaviour. By returning the int64 value of written bytes the test will succeed again
  • Lots of tests have been added. Almost 40% of additional code coverage has been added since the last pre-release
  • bfcd52b adds String() methods to Header and AddrHeader
  • 4585a53 adds error return values to Option functions that require input validation
  • a87577d introduces the proper encoding of filenames for Attachments and Embeds
  • ce1c37b adds error checks for Msg.AttachFile() and Msg.EmbedFile(). If a file cannot be read it will be ignored and not added to the mail

v0.1.3: Fix for address handling

14 Mar 15:27
557a161
Compare
Choose a tag to compare
Pre-release

Changelog

  • 557a161 fixes a bug in the handling of address headers (encoding issues when special characters are used)
  • 557a161 also provides SetOrganization() and SetUserAgent() as convenient helper methods to set those headers

v0.1.2: Send mails via local sendmail binary

14 Mar 14:32
ebd8f94
Compare
Choose a tag to compare
  • 54da622 adds support for sending a Msg using the local system sendmail binary => WriteToSendmail() and WriteToSendmailWithContext()

v0.1.1: Attachments and some cleanup

14 Mar 10:56
3e43819
Compare
Choose a tag to compare
Pre-release

Changelog

  • 1157180 adds supports the attachment/inline-embedding of files (or data provided via io.Reader)
  • 3e43819 adds support for custom dates via SetDateWithValue() and Reset() to the Msg
  • 06aff07 and 8e31cf0 add Importance() to the Msg, allowing to provide Importance/Priority levels for the mail
  • 3261e4d adds ReplyTo()/ReplyToFormat() to the Msg
  • 62bf1ae fixes a bug in the SetEncoding() of the Msg

Also the README received some updates.

v0.1.0: First pre-release

13 Mar 19:06
13f4c54
Compare
Choose a tag to compare
Pre-release

The lib is working in a way, that we can send mail and with body and multipart/alternative.