Releases: lettre/lettre
Releases · lettre/lettre
v0.11.7
0.11.6 - important email encoding fixes
0.11.5
0.11.4
0.11.3 - rustls 0.22 upgrade
v0.11.2 - Dependency updates
v0.11.1 - Fix rustls webpki-roots certificate store
Bug fixes
- Fix
webpki-roots
certificate store setup (#909)
v0.11.0
While this release technically contains breaking changes, we expect most projects
to be able to upgrade by only bumping the version in Cargo.toml
.
Upgrade notes
Features
- Improve mailbox parsing (#839)
- Add construction of SMTP transport from URL (#901)
- Add
From<Address>
implementation forMailbox
(#879)
Misc
0.10.4
0.10.3
Announcements
It was found that what had been used until now as a basic lettre 0.10
MessageBuilder::body
example failed to mention that for maximum
compatibility with various email clients a Content-Type
header
should always be present in the message.
Before
Message::builder()
// [...] some headers skipped for brevity
.body(String::from("A plaintext or html body"))?
Patch
Message::builder()
// [...] some headers skipped for brevity
+ .header(ContentType::TEXT_PLAIN) // or `TEXT_HTML` if the body is html
.body(String::from("A plaintext or html body"))?
Features
- Add support for rustls-native-certs when using rustls (#843)