forked from jelson.rodrigues/piperun-bot
fix: send groupped report on email
This commit is contained in:
@@ -380,13 +380,13 @@ fn main() {
|
||||
|
||||
let recipients = "Wilson da Conceição Oliveira <wilson.oliveira@nova.net.br>, Isadora G. Moura de Moura <isadora.moura@nova.net.br>";
|
||||
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"),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user