print incoming messages

This commit is contained in:
dignifiedquire
2019-08-07 23:28:45 +02:00
parent 33246726de
commit 7e129bcfc3

View File

@@ -991,6 +991,13 @@ impl Imap {
if !is_deleted && msg.body().is_some() {
let body = msg.body().unwrap();
info!(
context,
0,
"received message {}",
String::from_utf8_lossy(body)
);
unsafe {
(self.receive_imf)(
context,