equal
deleted
inserted
replaced
279 // check for BINARY capability |
279 // check for BINARY capability |
280 // Issue binary fetch for plain/text part only |
280 // Issue binary fetch for plain/text part only |
281 const CImapCapabilityInfo& capabilityInfo = iParent.CapabilityInfo(); |
281 const CImapCapabilityInfo& capabilityInfo = iParent.CapabilityInfo(); |
282 TBool binaryCapExist = capabilityInfo.QueryFlag(CImapCapabilityInfo::EBinaryCap); |
282 TBool binaryCapExist = capabilityInfo.QueryFlag(CImapCapabilityInfo::EBinaryCap); |
283 #endif |
283 #endif |
284 if (iRequestCount == 0) |
284 if (iRequestCount == 0 && !iFetchBodyInfo.iEmbed) |
285 { |
285 { |
286 bufLength += iFetchBodyInfo.RelativePath()->Length(); |
286 bufLength += iFetchBodyInfo.RelativePath()->Length(); |
287 |
287 |
288 if (iPeek) |
288 if (iPeek) |
289 { |
289 { |
345 //now create the command |
345 //now create the command |
346 HBufC8* buffer = HBufC8::NewL(bufLength); |
346 HBufC8* buffer = HBufC8::NewL(bufLength); |
347 delete iOutputBuffer; |
347 delete iOutputBuffer; |
348 iOutputBuffer=buffer; |
348 iOutputBuffer=buffer; |
349 |
349 |
350 if (iRequestCount == 0) |
350 if (iRequestCount == 0 && !iFetchBodyInfo.iEmbed) |
351 { |
351 { |
352 if(iPeek) |
352 if(iPeek) |
353 { |
353 { |
354 #if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT) |
354 #if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT) |
355 if(binaryCapExist && iFetchBodyInfo.IsText()) |
355 if(binaryCapExist && iFetchBodyInfo.IsText()) |
376 } |
376 } |
377 } |
377 } |
378 } |
378 } |
379 else |
379 else |
380 { |
380 { |
|
381 iFetchBodyInfo.iEmbed = EFalse; |
381 if(iPeek) |
382 if(iPeek) |
382 { |
383 { |
383 #if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT) |
384 #if (defined SYMBIAN_EMAIL_CAPABILITY_SUPPORT) |
384 if(binaryCapExist && iFetchBodyInfo.IsText()) |
385 if(binaryCapExist && iFetchBodyInfo.IsText()) |
385 { |
386 { |