mirror of
https://git.nickiel.net/Nickiel/nicks_nextcloud_integrations.git
synced 2025-06-29 01:11:20 -07:00
disabled email
This commit is contained in:
parent
8c4587544c
commit
adf11a891e
2 changed files with 4 additions and 4 deletions
|
@ -195,8 +195,8 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
|
||||
if do_email_summary {
|
||||
debug!("Send email selected");
|
||||
reset_email_checkbox(&cfg);
|
||||
send_email_summary(&cfg, body_content);
|
||||
//reset_email_checkbox(&cfg);
|
||||
//send_email_summary(&cfg, body_content);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
@ -381,7 +381,7 @@ fn send_email_summary(config: &Config, body_content: Vec<String>) {
|
|||
|
||||
match mailer.send(&email) {
|
||||
Ok(val) => debug!("email sent: {:?}", val),
|
||||
Err(e) => debug!("Couldn't send email {}", e)
|
||||
Err(e) => error!("Couldn't send email {}", e)
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue