ipsservices/ipssosplugin/src/ipsplgmrulist.cpp
branchRCL_3
changeset 25 3533d4323edc
parent 24 d189ee25cf9d
equal deleted inserted replaced
24:d189ee25cf9d 25:3533d4323edc
   249             if ( KErrNotFound != start && KErrNotFound != end )
   249             if ( KErrNotFound != start && KErrNotFound != end )
   250                 {
   250                 {
   251                 start += 1;
   251                 start += 1;
   252                 emailAddress.Set( aNewMruList->MdcaPoint(i + 1).Mid( start, ( end - start ) ) );
   252                 emailAddress.Set( aNewMruList->MdcaPoint(i + 1).Mid( start, ( end - start ) ) );
   253                 }
   253                 }
   254 // <qmail> someone disabled in Qmail?
   254 
   255             // check validity of email before saving diplay name and address
   255             // check validity of email before saving diplay name and address
   256             /*if( IpsSetUtils::IsValidEmailAddressL(emailAddress) )
   256             if( IpsSetUtils::IsValidEmailAddressL(emailAddress) )
   257                 {
   257                 {
   258                 // set values to ascending keys
   258                 // set values to ascending keys
   259                 mboxKey++;
   259                 mboxKey++;
   260 
   260 
   261                 if ( aNewMruList->MdcaPoint(i).Length() <= KMruListMaxDesSize )
   261                 if ( aNewMruList->MdcaPoint(i).Length() <= KMruListMaxDesSize )
   283                         TDesC des = aNewMruList->MdcaPoint(i + 1);
   283                         TDesC des = aNewMruList->MdcaPoint(i + 1);
   284                         error = iRepository->Create(
   284                         error = iRepository->Create(
   285                             mboxKey, des.Mid(0,KMruListMaxDesSize) );
   285                             mboxKey, des.Mid(0,KMruListMaxDesSize) );
   286                         }
   286                         }
   287                     }
   287                     }
   288                 }*/
   288                 }
   289             }
   289             }
   290 // </qmail>
       
   291         }
   290         }
   292     // </cmail>
   291     // </cmail>
   293 
   292 
   294     if ( KErrNone != error )
   293     if ( KErrNone != error )
   295         {
   294         {