3.2 KiB
3.2 KiB
Change Log
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
Unreleased
[2.3.1] - 2018-11-12
Fixed
- #39: Reverts addition of Go modules
go.modmanifest.
[2.3.0] - 2018-11-10
Added
- #12: Adds
SendErrorto provide additional info about the cause and index of a failed attempt to transmit a batch of messages. - go-gomail#78: Adds new
Messagemethods for attaching and embeddingio.Readers:AttachReaderandEmbedReader.
Fixed
- #26: Fixes RFC 1341 compliance by properly capitalizing the
MIME-Versionheader. - #30: Fixes IO errors being silently dropped in
Message.WriteTo.
[2.2.0] - 2018-03-01
Added
- #20: Adds
Message.SetBoundaryto allow specifying a custom MIME boundary. - #22: Adds
Message.SetBodyWriterto make it easy to use text/template and html/template for message bodies. Contributed by Quantcast. - #25: Adds
Dialer.StartTLSPolicyso thatMandatoryStartTLScan be required, orNoStartTLScan disable it. Contributed by Quantcast.
[2.1.0] - 2017-12-14
Added
- go-gomail#40: Adds
Dialer.LocalNamefield to allow specifying the hostname sent with SMTP's HELO command. - go-gomail#47:
Message.SetBody,Message.AddAlternative, andMessage.AddAlternativeWriterallow specifying the encoding of message parts. Dialer.Dial's returnedSendCloserautomatically redials after a timeout.- go-gomail#55, go-gomail#56: Adds
Renameto allow specifying filename of an attachment. - go-gomail#100: Exports
NetDialTimeoutto allow setting a custom dialer. - go-gomail#70: Adds
Dialer.Timeoutfield to allow specifying a timeout for dials, reads, and writes.
Changed
- go-gomail#52:
Dialer.Dialautomatically uses CRAM-MD5 when available. Dialer.Dialspecifies a default timeout of 10 seconds.- Gomail is forked from https://github.com/go-gomail/gomail/ to https://github.com/go-mail/mail/.
Deprecated
- go-gomail#52:
NewPlainDialeris deprecated in favor ofNewDialer.
Fixed
- go-gomail#41, go-gomail#42: Fixes a panic when a
Messagecontains a nil header. - go-gomail#44: Fixes
AddAlternativeWriterreplacing the message body instead of adding a body part. - go-gomail#53: Folds long header lines for RFC 2047 compliance.
- go-gomail#54: Fixes
Message.FormatAddresswhen name is blank.
[2.0.0] - 2015-09-02
- Mailer has been removed. It has been replaced by Dialer and Sender.
Filetype and theCreateFileandOpenFilefunctions have been removed.Message.AttachandMessage.Embedhave a new signature.Message.GetBodyWriterhas been removed. UseMessage.AddAlternativeWriterinstead.Message.Exporthas been removed.Message.WriteTocan be used instead.Message.DelHeaderhas been removed.- The
Bccheader field is no longer sent. It is far more simpler and efficient: the same message is sent to all recipients instead of sending a different email to each Bcc address. - LoginAuth has been removed.
NewPlainDialernow implements the LOGIN authentication mechanism when needed. - Go 1.2 is now required instead of Go 1.3. No external dependency are used when using Go 1.5.