ipsservices/ipssossettings/src/ipssetdataapi.cpp
branchRCL_3
changeset 8 e1b6206813b4
parent 0 8466d47a6819
child 16 b5fbb9b25d57
--- a/ipsservices/ipssossettings/src/ipssetdataapi.cpp	Tue Feb 02 00:02:40 2010 +0200
+++ b/ipsservices/ipssossettings/src/ipssetdataapi.cpp	Fri Feb 19 22:37:30 2010 +0200
@@ -162,6 +162,16 @@
         {
         SetNewImap4PasswordL( aService, aPassword );
         }
+    else if ( aService.Entry().iMtm.iUid == KSenduiMtmSmtpUidValue )
+        {
+        CEmailAccounts* accounts = CEmailAccounts::NewLC();
+
+        TBuf8<KIpsDataApiMaxPassLen> temp;
+        temp.Copy( aPassword );
+
+        SetNewSmtpPasswordL( aService.EntryId(), temp, *accounts );
+        CleanupStack::PopAndDestroy( 1, accounts );
+        }
     }
 
 // ----------------------------------------------------------------------------