--- a/email/imap4mtm/imapsession/src/cimapfetchbody.cpp Wed Sep 15 12:08:45 2010 +0300
+++ b/email/imap4mtm/imapsession/src/cimapfetchbody.cpp Wed Oct 13 14:27:34 2010 +0300
@@ -281,7 +281,7 @@
const CImapCapabilityInfo& capabilityInfo = iParent.CapabilityInfo();
TBool binaryCapExist = capabilityInfo.QueryFlag(CImapCapabilityInfo::EBinaryCap);
#endif
- if (iRequestCount == 0)
+ if (iRequestCount == 0 && !iFetchBodyInfo.iEmbed)
{
bufLength += iFetchBodyInfo.RelativePath()->Length();
@@ -347,7 +347,7 @@
delete iOutputBuffer;
iOutputBuffer=buffer;
- if (iRequestCount == 0)
+ if (iRequestCount == 0 && !iFetchBodyInfo.iEmbed)
{
if(iPeek)
{
@@ -378,6 +378,7 @@
}
else
{
+ iFetchBodyInfo.iEmbed = EFalse;
if(iPeek)
{
#if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT)