mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 04:46:29 +03:00
print incoming messages
This commit is contained in:
@@ -991,6 +991,13 @@ impl Imap {
|
|||||||
|
|
||||||
if !is_deleted && msg.body().is_some() {
|
if !is_deleted && msg.body().is_some() {
|
||||||
let body = msg.body().unwrap();
|
let body = msg.body().unwrap();
|
||||||
|
info!(
|
||||||
|
context,
|
||||||
|
0,
|
||||||
|
"received message {}",
|
||||||
|
String::from_utf8_lossy(body)
|
||||||
|
);
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
(self.receive_imf)(
|
(self.receive_imf)(
|
||||||
context,
|
context,
|
||||||
|
|||||||
Reference in New Issue
Block a user