equal
deleted
inserted
replaced
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 |