Skip to content

Releases: go-pkgz/email

Version 0.8.0

Choose a tag to compare

@umputun umputun released this 19 Aug 02:23
d08595b

Adds SendContext, which bounds the whole SMTP transaction with a context. Send keeps its signature and its previous behaviour.

Fixes:

  • Header injection through a caller-supplied subject, address or attachment file name. CR and LF are rejected before the message is built, and file names go through mime.FormatMediaType, so an ordinary name is no longer quoted and a non-ASCII name is encoded per RFC 2231.
  • SMTP delivery failures reported at DATA close were discarded, so a rejected message looked delivered.
  • Base64 attachment lines were not wrapped to the MIME limit, which some servers reject. Empty attachment files are now accepted instead of returning an error.

Version 0.7.0

Choose a tag to compare

@umputun umputun released this 18 Aug 00:16
33d7108

New Features

Improvements

  • enable testifylint and adopt its idioms f313b36
  • verify MIME structure by parsing, not substring matching 4b387fb
  • add CLAUDE.md with architecture and commands 7e191f7

Version 0.6.0

Choose a tag to compare

@umputun umputun released this 03 Dec 21:40
  • #24 fix CI workflow caching by reordering checkout and setup-go steps
  • #23 Add support for display name in email sender
  • #22 Fix golangci-lint shadow
  • #21 Fix golangci-lint errors, update CI workflow, go modules
  • #19 make tls InsecureSkipVerify flag configurable

Version 0.5.0

Choose a tag to compare

@umputun umputun released this 18 Dec 19:27

What's Changed

New Contributors

Full Changelog: v0.4.1...v0.5.0

Version 0.4.1

Choose a tag to compare

@umputun umputun released this 18 Dec 19:05

What's Changed

  • fix: set timeout for TLS connections by @gurza in #18
  • update dependencies and bump to go 1.19 and latest linter

Full Changelog: v0.4.0...v0.4.1

v0.4.0

Choose a tag to compare

@umputun umputun released this 03 Oct 02:18
39ade55

What's Changed

  • Add In-reply-to header for message grouping by @ad in #13
  • feat: support LOGIN auth mechanism by @gurza in #15
  • ci: review linters by @gurza in #16

New Contributors

  • @ad made their first contribution in #13
  • @gurza made their first contribution in #15

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@umputun umputun released this 20 May 19:50

What's Changed

  • add subject encoding for proper non-ascii symbols representation by @paskal in #10
  • Add POST unsubscribe link to the email headers by @paskal in #11
  • fix wrong SMTP client host by @paskal in #12

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@umputun umputun released this 24 Apr 22:19

What's Changed

  • add golangci-lint configuration by @paskal in #4
  • Add support of attachments #1 by @s0x90 in #5
  • add starttls support by @s0x90 in #9
  • add inline (embedded) images support by @s0x90 in #8

New Contributors

  • @paskal made their first contribution in #4
  • @s0x90 made their first contribution in #5

Full Changelog: v0.1.2...v0.2.0

Version 0.1.2

Choose a tag to compare

@umputun umputun released this 11 Feb 20:37

Switch to TLS(bool) option

Version 0.1.1

Choose a tag to compare

@umputun umputun released this 11 Feb 20:31

fix package name