github jhillyerd/enmime v0.3.0

latest releases: v2.0.0, v1.3.0, v1.2.0...
6 years ago

Added

  • CLI utils now output inlines and other parts in addition to attachments.
  • Clone() method to Envelope and Part (thanks to nerdlich.)
  • GetHeaderKeys() method to Envelope (thanks to allenluce.)
  • GetHeaderValues() plus a suite of setters for Envelope (thanks to nerdlich.)

Changed

  • Use value instead of pointer receivers and return types on MailBuilder
    methods. Cleaner API, but may break some users.
  • enmime.Error now conforms to the Go error interface, its String() method
    is now deprecated.
  • NewPart() constructor no longer takes a parent parameter.
  • Part.Errors now holds pointers, matching Envelope.Errors.

Fixed

  • Content is now populated for binary-only mails root part (thank to ostcar.)

Removed

  • Part no longer implements io.Reader, content is stored as a byte slice in
    Part.Content instead.

Don't miss a new enmime release

NewReleases is sending notifications on new releases.