small fix
This commit is contained in:
parent
86d5cde573
commit
84adeddec6
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ async fn send_email(
|
|||
) -> eyre::Result<()> {
|
||||
use lettre::{Message, Transport};
|
||||
let email = Message::builder()
|
||||
.from("infracoll <root@infracoll>".parse().unwrap())
|
||||
.from(smtp.username.parse().unwrap())
|
||||
.to(email.parse()?)
|
||||
.subject(format!(
|
||||
"restic-alarm: inactive repository {}",
|
||||
|
|
Loading…
Reference in a new issue