ipsservices/ipssosplugin/src/ipsplgmrulist.cpp
branchRCL_3
changeset 24 d189ee25cf9d
parent 0 8466d47a6819
child 25 3533d4323edc
equal deleted inserted replaced
23:dcf0eedfc1a3 24:d189ee25cf9d
   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 
   254 // <qmail> someone disabled in Qmail?
   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>
   290         }
   291         }
   291     // </cmail>
   292     // </cmail>
   292 
   293 
   293     if ( KErrNone != error )
   294     if ( KErrNone != error )
   294         {
   295         {