Hi everyone,
On the project I am working on, we have a button that directly opens the UI view of a new email when the user wants to write a new email. Until now, when more than 1 mailbox exist, the new email is opened via the mailbox in use. We only use this code:
CSendUi* sendUi = CSendUi::NewL();
CleanupStack::PushL(sendUi);
CMessageData* message = CMessageData::NewLC();
sendUi->CreateAndSendMessageL( KSenduiMtmSmtpUid, message, KNullUid );
CleanupStack::PopAndDestroy(2); // message, sendUi
Now, we would like to be able to specify what mailbox to use. I can list them but it doesn't work passing the method CreateAndSendMessageL the mailbox's uid.
Any idea if it is possible?
Thanks!!!!
Sih.




