Thanks to visit codestin.com
Credit goes to github.com

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

2.1.0

Choose a tag to compare

@ivy ivy released this 09 Jun 20:33
· 26 commits to v2 since this release
2.1.0
783ff71

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.