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>";
|
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}");
|
println!("Trying to send mail... {recipients}");
|
||||||
// send_mail_util::send_mail_util::send_email(
|
send_mail_util::send_mail_util::send_email(
|
||||||
// &format!(
|
&format!(
|
||||||
// "Relatório agrupado dos atendimentos semana {first_day_of_last_week} - {last_day_of_last_week}"
|
"Relatório agrupado dos atendimentos semana {first_day_of_last_week} - {last_day_of_last_week}"
|
||||||
// ),
|
),
|
||||||
// &BOT_EMAIL,
|
&BOT_EMAIL,
|
||||||
// &BOT_EMAIL_PASSWORD,
|
&BOT_EMAIL_PASSWORD,
|
||||||
// recipients,
|
recipients,
|
||||||
// &format!("./groupped/{first_day_of_last_week} - {last_day_of_last_week}.zip"),
|
&format!("./groupped/{first_day_of_last_week} - {last_day_of_last_week}.zip"),
|
||||||
// );
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user