Read-only archive of the All About Symbian forum (2001–2013) · About this archive

POP3_IMAP4_Email_Example No Data Displayed

0 replies · 1,476 views · Started 25 April 2006

My Question About (POP3_IMAP4_Email_Example) , I make a good tracing through my mobile (Nokia 6630)
From the tracing I Concluded that I can communicate with my remote server email correctly, the thing that
Gives me evidence that there is a successful communication with my email is the statement that I put it
Method (FindServiceL) I but some statement that checks if there is incoming emails (> 0) which is correct (3 email messages):

if (count > 0 )
{
_LIT(messageLoop,"There is email messages in servicel Method"😉;
informationNote->ExecuteLD(messageLoop);
}

but the problem Is there is no data displayed on the List box , I also traced the (mailcommand) method
by adding some trace messages and also it works fine here is the code at the method:

void CInternetEmailEngine::MailCommandL( const TInt aCommand, TDes8& aParams)
{
// make sure iServiceId is a remote type service
CAknInformationNote* informationNote = new (ELeave) CAknInformationNote;
if( iServiceId != KMsvLocalServiceIndexEntryId )
{
_LIT(messageService,"The Service Is Remote Service"😉;
informationNote->ExecuteLD(messageService);
iRemoteEntries->Reset();
iRemoteEntries->AppendL(iServiceId); //aSelection[0] is used in many mtm commands
_LIT(messageAppendL,"The Service Is AppendedL"😉;
informationNote->ExecuteLD(messageAppendL);
// get the msventry for the service id
CMsvEntry* service = iMsvSession->GetEntryL(iServiceId);
CleanupStack::PushL(service);
_LIT(messageGetEntryL,"The SessionService Started"😉;
informationNote->ExecuteLD(messageGetEntryL);
// make sure the mtm for the service is of approriate type
if(service->Entry().iMtm == iProtocolUid)
{
// delete and reset any outstanding operation
_LIT(messageProtocol,"The Protocol Is Correct"😉;
informationNote->ExecuteLD(messageProtocol);
if(iMsvOp)
{
iMsvOp->Cancel();
}
delete iMsvOp;
iMsvOp=NULL;
iMsvOp=iMtm->InvokeAsyncFunctionL(aCommand,*iRemoteEntries,aParams/*ptr*/,iStatus);
if( iStatus != KRequestPending )
{
_LIT(messagePending,"The Request Is Pending"😉;
informationNote->ExecuteLD(messagePending);
User::Leave( iStatus.Int() ); //leave if error
}
}
CleanupStack::PopAndDestroy(service);
}
else
{
_LIT(messageError,"Error Not Found"😉;
informationNote->ExecuteLD(messageError);
User::Leave(KErrNotFound);
}
}

So Can any kind man helps me to discover there is no data displayed into the list box?

Note : I'm Using (Pop3) email prtocol.

For Downloading the Application:
http://www.forum.nokia.com/info/sw.nokia.com/id/438fe5a5-71cc-4138-a6b3-f61e79e73e95/S60_Platform_POP_IMAP_Example_v1_1.zip.html