mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-07 02:30:10 -05:00
. Fixed issue 77 and issue 489: It was a bug in Cc and Reply-To header parsing
This commit is contained in:
parent
553fdbeed5
commit
c6f6e995f6
@ -73,12 +73,15 @@ public class MimeMessage extends Message {
|
|||||||
|
|
||||||
protected void parse(InputStream in) throws IOException, MessagingException {
|
protected void parse(InputStream in) throws IOException, MessagingException {
|
||||||
mHeader.clear();
|
mHeader.clear();
|
||||||
mBody = null;
|
|
||||||
mBcc = null;
|
|
||||||
mTo = null;
|
|
||||||
mFrom = null;
|
mFrom = null;
|
||||||
|
mTo = null;
|
||||||
|
mCc = null;
|
||||||
|
mBcc = null;
|
||||||
|
mReplyTo = null;
|
||||||
mSentDate = null;
|
mSentDate = null;
|
||||||
|
|
||||||
|
mBody = null;
|
||||||
|
|
||||||
MimeStreamParser parser = new MimeStreamParser();
|
MimeStreamParser parser = new MimeStreamParser();
|
||||||
parser.setContentHandler(new MimeMessageBuilder());
|
parser.setContentHandler(new MimeMessageBuilder());
|
||||||
parser.parse(new EOLConvertingInputStream(in));
|
parser.parse(new EOLConvertingInputStream(in));
|
||||||
|
Loading…
Reference in New Issue
Block a user