Hi,
I tried to use Symbian email account creation example but it doesn't work. There's no any error but I can't see the account
after running the code.
I have s60 3rd edition, fp2 SDK.
Would like to create imap and smtp email accounts.
Thank you,
M.
Hi,
I tried to use Symbian email account creation example but it doesn't work. There's no any error but I can't see the account
after running the code.
I have s60 3rd edition, fp2 SDK.
Would like to create imap and smtp email accounts.
Thank you,
M.
Even this short code doesn't work.
Is it only the FP2 version?
CImImap4Settings* imapSet = new (ELeave) CImImap4Settings;
CleanupStack::PushL(imapSet);
CImIAPPreferences* imapIap = CImIAPPreferences::NewLC();
// populate the setting objects with default values
CEmailAccounts* account = CEmailAccounts::NewLC();
account->PopulateDefaultImapSettingsL(*imapSet, *imapIap);
// update settings
imapSet->SetLoginNameL(_L8("a"));
imapSet->SetPasswordL(_L8("a"));
// create IMAP account
TImapAccount imapAccount = account->CreateImapAccountL(_L("ujvalami"), *imapSet, *imapIap, EFalse);
CleanupStack::PopAndDestroy(3);
Can you test your code in the emulator? In that case you could easily check if anything has happened, via searching for the strings you provide (even for the 8-bit strings, which are a bit easier to search for).
Yes, I can test with the emulator.
The thing is that this is an example code so it should work as it is, I think.
Hello Walaky,
there are some problems with mail accounts creation in 3rd edition.... i encountered them for MR and FP1, maybe something similar for FP2 too...
Here is the official position of Nokia:
http://wiki.forum.nokia.com/index.ph...ilAccounts_API
and here is a "free" solution for FP1... the bad thing is that sometimes things got messed up after creating and deleting the same account for a few times:
http://discussion.forum.nokia.com/fo...il+account+FP1
hope it helps
pg