Repository navigation
Releases: go-pkgz/email
Releases · go-pkgz/email
Release list
Version 0.8.0
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
Version 0.6.0
Version 0.5.0
What's Changed
- make tls InsecureSkipVerify flag configurable by @vladimirdulov in #19
New Contributors
- @vladimirdulov made their first contribution in #19
Full Changelog: v0.4.1...v0.5.0
Version 0.4.1
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