Hi,
I just tried to retrieve some mails in a loop, knowing that message #44 is not formatted correctly according to RFC (Spam message contains un-encoded binary data) and so, must run into error:
Example:
for i in 43..49 {
let message = pop3.retr(i);
let _eml = match message {
POP3Message { raw: _ } => println!("{} -> OK", i),
_ => { println!("{} -> ERR", i)
}
};
Hi, I just tried to retrieve some mails in a loop, knowing that message #44 is not formatted correctly according to RFC (Spam message contains un-encoded binary data) and so, must run into error:
Example:
Result
Omitting message #44 in this loop by adding
if i == 44 { continue }
beforepop3.retr
results in correct output:Any ideas what´s going wrong here? Did I miss something?