From 2975dad9cd768a214b0688084210b46fabb4bd12 Mon Sep 17 00:00:00 2001 From: Jelson Rodrigues Date: Wed, 5 Nov 2025 10:34:03 -0300 Subject: [PATCH] fix: send groupped report on email --- src/groupped_repport.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/groupped_repport.rs b/src/groupped_repport.rs index e3dbdec..a6203a6 100644 --- a/src/groupped_repport.rs +++ b/src/groupped_repport.rs @@ -380,13 +380,13 @@ fn main() { let recipients = "Wilson da Conceição Oliveira , Isadora G. Moura de Moura "; println!("Trying to send mail... {recipients}"); - // send_mail_util::send_mail_util::send_email( - // &format!( - // "Relatório agrupado dos atendimentos semana {first_day_of_last_week} - {last_day_of_last_week}" - // ), - // &BOT_EMAIL, - // &BOT_EMAIL_PASSWORD, - // recipients, - // &format!("./groupped/{first_day_of_last_week} - {last_day_of_last_week}.zip"), - // ); + send_mail_util::send_mail_util::send_email( + &format!( + "Relatório agrupado dos atendimentos semana {first_day_of_last_week} - {last_day_of_last_week}" + ), + &BOT_EMAIL, + &BOT_EMAIL_PASSWORD, + recipients, + &format!("./groupped/{first_day_of_last_week} - {last_day_of_last_week}.zip"), + ); }