Skip to content

Commit

Permalink
add missing From header when using xdg-email (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
soywod committed Aug 4, 2021
1 parent 2acd5d7 commit 32d8cf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/msg/tpl/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ impl Tpl {
}
}

headers.insert(String::from("From"), ctx.config.address(ctx.account));
headers.insert(String::from("To"), url.path().to_string());
headers.insert(String::from("Subject"), subject.into());
if !cc.is_empty() {
Expand Down

0 comments on commit 32d8cf0

Please sign in to comment.