email/imap4mtm/imapsession/src/cimapbodystructurebuilder.cpp
branchRCL_3
changeset 27 7fdbb852d323
parent 26 ebe688cedc25
equal deleted inserted replaced
26:ebe688cedc25 27:7fdbb852d323
   526 */
   526 */
   527 void CImapBodyStructureBuilder::ParseBodyTypeMessageRfc822L()
   527 void CImapBodyStructureBuilder::ParseBodyTypeMessageRfc822L()
   528 	{
   528 	{
   529 	// body-fields SP SP body SP body-fld-lines
   529 	// body-fields SP SP body SP body-fld-lines
   530 	ParseBodyFieldsL();
   530 	ParseBodyFieldsL();
       
   531 	//Sometime RFCb22  message has empty evvelopel, in that case we are traping this and  processed.
   531     TRAPD(err, ParseEnvelopeL());
   532     TRAPD(err, ParseEnvelopeL());
   532    
   533    
   533     // Expect a body substructure next.
   534     // Expect a body substructure next.
   534     // Position iAtomWalker at the opening bracket, ready for ParseBodyStructureTypeL
   535     // Position iAtomWalker at the opening bracket, ready for ParseBodyStructureTypeL
   535     iAtomWalker->WalkAcrossL(ETrue);
   536     iAtomWalker->WalkAcrossL(ETrue);