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<()> {
|
) -> eyre::Result<()> {
|
||||||
use lettre::{Message, Transport};
|
use lettre::{Message, Transport};
|
||||||
let email = Message::builder()
|
let email = Message::builder()
|
||||||
.from("infracoll <root@infracoll>".parse().unwrap())
|
.from(smtp.username.parse().unwrap())
|
||||||
.to(email.parse()?)
|
.to(email.parse()?)
|
||||||
.subject(format!(
|
.subject(format!(
|
||||||
"restic-alarm: inactive repository {}",
|
"restic-alarm: inactive repository {}",
|
||||||
|
|
Loading…
Reference in a new issue