Update Rust crate lettre to 0.10.3
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
lettre (source) | dependencies | patch |
0.10.2 -> 0.10.3
|
Release Notes
lettre/lettre
v0.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)
Configuration
-
If you want to rebase/retry this MR, check this box