Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Releases: go-mail/mail

v2.3.1

12 Nov 22:05
@ivy ivy
v2.3.1
f59b9b8
Compare
Choose a tag to compare

Fixed

  • #39: Reverts addition of Go modules go.mod manifest.

v2.3.0

10 Nov 20:56
@ivy ivy
v2.3.0
1e414dc
Compare
Choose a tag to compare

Added

  • #12: Adds SendError to provide additional info about the cause and index of
    a failed attempt to transmit a batch of messages.
  • go-gomail#78: Adds new Message methods for attaching and embedding
    io.Readers: AttachReader and EmbedReader.
  • #39: Adds support for Go modules (Go 1.11+).

Fixed

  • #26: Fixes RFC 1341 compliance by properly capitalizing the
    MIME-Version header.
  • #30: Fixes IO errors being silently dropped in Message.WriteTo.

2.2.0

09 Jun 20:34
@ivy ivy
2.2.0
63235f2
Compare
Choose a tag to compare

Added

  • #20: Adds Message.SetBoundary to allow specifying a custom MIME boundary.
  • #22: Adds Message.SetBodyWriter to make it easy to use text/template and
    html/template for message bodies. Contributed by Quantcast.
  • #25: Adds Dialer.StartTLSPolicy so that MandatoryStartTLS can be required,
    or NoStartTLS can disable it. Contributed by Quantcast.

2.1.0

09 Jun 20:33
@ivy ivy
2.1.0
783ff71
Compare
Choose a tag to compare

Added

  • go-gomail#40: Adds Dialer.LocalName field to allow specifying the hostname
    sent with SMTP's HELO command.
  • go-gomail#47: Message.SetBody, Message.AddAlternative, and
    Message.AddAlternativeWriter allow specifying the encoding of message parts.
  • Dialer.Dial's returned SendCloser automatically redials after a timeout.
  • go-gomail#55, go-gomail#56: Adds Rename to allow specifying filename
    of an attachment.
  • go-gomail#100: Exports NetDialTimeout to allow setting a custom dialer.
  • go-gomail#70: Adds Dialer.Timeout field to allow specifying a timeout for
    dials, reads, and writes.

Changed

Deprecated

  • go-gomail#52: NewPlainDialer is deprecated in favor of NewDialer.

Fixed

  • go-gomail#41, go-gomail#42: Fixes a panic when a Message contains a
    nil header.
  • go-gomail#44: Fixes AddAlternativeWriter replacing 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.FormatAddress when name is blank.