Hi,
our servers receives occasionally emails with Content-Transfer-
Encoding: 8-bit and James cannot process them - emails are moved to
the error/ directory.
This is what is logged in phoenix.console
exception! javax.mail.MessagingException: Malformed message;
nested exception is:
java.io.IOException: Unknown encoding: 8-bit
Usually I don't care about these emails because they are spam. But
sometimes they are just newsletters which I prefer to be processed
even thought they are not correctly formatted. Is there a way I can
make james ignore these errors?
We have a processor that manages to read these emails by catching the
IOException:
} catch (IOException e) {
message.setHeader("Content-Transfer-Encoding", "7bit");
May be this is not the best way to do it but at least it works for us.
Our server is James v2.3.1
Thanks,
Ozkan