Skip to content

Update Rust crate lettre to 0.10.3

Renovate Bot requested to merge renovate/lettre-0.x into master

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

Compare Source

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

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

Merge request reports