Use correct sub-part of a multipart message when getting text.
946565347a
passed 'this' to
getTextFromPart() which could be a multipart. This caused
all multipart messages to show 'No text' as the body.
Fix it by passing it the correct 'part' that was found.
This commit is contained in:
parent
fe8e779b32
commit
e8c6a56fd2
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ public class LocalMessage extends MimeMessage {
|
|||
}
|
||||
} else {
|
||||
// We successfully found an HTML part; do the necessary character set decoding.
|
||||
text = MessageExtractor.getTextFromPart(this);
|
||||
text = MessageExtractor.getTextFromPart(part);
|
||||
}
|
||||
return text;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue