Fixed extraction of root part body.
This commit is contained in:
parent
5debcfccfa
commit
c4d595624b
@ -273,9 +273,12 @@ void IMAPMessage::extract(ref <const part> p, utility::outputStream& os,
|
|||||||
if (peek) command << ".PEEK";
|
if (peek) command << ".PEEK";
|
||||||
command << "[";
|
command << "[";
|
||||||
|
|
||||||
if (section.str().empty() && headerOnly)
|
if (section.str().empty())
|
||||||
{
|
{
|
||||||
command << "HEADER";
|
if (headerOnly)
|
||||||
|
command << "HEADER";
|
||||||
|
else
|
||||||
|
command << "TEXT";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user