diff --git a/Cargo.toml b/Cargo.toml index ec85cbc..74c9fbe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,6 +6,6 @@ edition = "2024" [dependencies] clap = { version = "4.5.40", features = ["derive"] } lettre = { version = "0.11.17", features = ["tracing"] } -tracing = "0.1" +tracing = "0.1.41" tracing-subscriber = "0.3.19" uuid = { version = "1.17.0", features = ["v4"] } \ No newline at end of file diff --git a/src/main.rs b/src/main.rs index 75cb407..2c3d277 100644 --- a/src/main.rs +++ b/src/main.rs @@ -100,7 +100,7 @@ fn main() { if args.message_id { builder = builder.header(MessageId::from(format!( "<{}@{}>", - uuid::Uuid::new_v4().to_string(), + uuid::Uuid::new_v4(), args.from_mail.rsplit_once('@').unwrap().1 ))); }