Dont log if message doesnt match
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
parent
034deb3ba1
commit
a01b10a01f
1 changed files with 0 additions and 3 deletions
|
@ -40,9 +40,6 @@ fn fetch_inbox_top() -> imap::error::Result<Option<String>> {
|
|||
imap_session.store(format!("{}", message.message), "+FLAGS (\\Deleted)").unwrap();
|
||||
println!("DELETED SPAM Target!");
|
||||
}
|
||||
else {
|
||||
println!("Mail Doesnt match");
|
||||
}
|
||||
}
|
||||
imap_session.expunge().unwrap();
|
||||
imap_session.logout()?;
|
||||
|
|
Loading…
Reference in a new issue