config.setMaxLineLen(-1);
final MimeStreamParser parser = new MimeStreamParser(config);
parser.setContentHandler(new AbstractContentHandler() {
@Override
public void endHeader() {
parser.stop();
}
@Override
public void field(Field field) throws MimeException {
String fieldValue = field.getBody();
if (fieldValue.endsWith("\r\f")) {