ipsservices/ipssossettings/src/ipssetdataapi.cpp
branchRCL_3
changeset 8 e1b6206813b4
parent 0 8466d47a6819
child 24 b5fbb9b25d57
equal deleted inserted replaced
4:e7aa27f58ae1 8:e1b6206813b4
   160         }
   160         }
   161     else if ( aService.Entry().iMtm.iUid == KSenduiMtmImap4UidValue )
   161     else if ( aService.Entry().iMtm.iUid == KSenduiMtmImap4UidValue )
   162         {
   162         {
   163         SetNewImap4PasswordL( aService, aPassword );
   163         SetNewImap4PasswordL( aService, aPassword );
   164         }
   164         }
       
   165     else if ( aService.Entry().iMtm.iUid == KSenduiMtmSmtpUidValue )
       
   166         {
       
   167         CEmailAccounts* accounts = CEmailAccounts::NewLC();
       
   168 
       
   169         TBuf8<KIpsDataApiMaxPassLen> temp;
       
   170         temp.Copy( aPassword );
       
   171 
       
   172         SetNewSmtpPasswordL( aService.EntryId(), temp, *accounts );
       
   173         CleanupStack::PopAndDestroy( 1, accounts );
       
   174         }
   165     }
   175     }
   166 
   176 
   167 // ----------------------------------------------------------------------------
   177 // ----------------------------------------------------------------------------
   168 // function returns KErrNotSupported if wizard data is not 
   178 // function returns KErrNotSupported if wizard data is not 
   169 // not match for the uid parameter. All leaving function calls are
   179 // not match for the uid parameter. All leaving function calls are