×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2008
    Posts
    1

    How to check mail in the messaging app

    Hi!

    Is there a way to invoke a mail check of an account of my choice, in the standard mailing application in the symbian phones?
    And in a way that would be invisible to the user, like in the usual polled check, where it silently controls mail, and if there is something new, the message pops up and the phone rings

    I'm trying to find any reference on how to interact with the messaging function, but I think I'm not able to get anything..

  2. #2
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Tianjin
    Posts
    156

    Re: How to check mail in the messaging app

    Firstly you can use HandleSessionEventL to monitor any email service. e.g. new email, delete email, change email.

    And you also can manully get all email entries of any service.

    Code:
    void GetSelectionL(TMsvId aServiceId, TMsvId aParent, CMsvEntrySelection& aSelection)
    	{
    	CMsvEntryFilter* filter = CMsvEntryFilter::NewLC();
    	filter->SetType( KUidMsvMessageEntry );
    	filter->SetOrder(TMsvSelectionOrdering(KMsvNoGrouping, EMsvSortByDate, ETrue));
    	filter->SetService(aServiceId);
    	filter->SetMtm(iMtmId);
    	
    	iSession->GetChildIdsL( aParent, *filter, aSelection );
    	CleanupStack::PopAndDestroy(filter);
    	}
    anson_zhao

Similar Threads

  1. How to check Heap size for my app?
    By psdeepti in forum Symbian
    Replies: 1
    Last Post: 2007-05-14, 16:30
  2. App crash problem - how to figure out why?
    By neomedia in forum Symbian
    Replies: 1
    Last Post: 2005-02-07, 16:22
  3. GSM/GPRS Drivers check FAILED
    By hblume in forum Multimodecards
    Replies: 3
    Last Post: 2004-01-28, 21:37
  4. SMS Msg using VB Application
    By gurup83 in forum General Messaging
    Replies: 2
    Last Post: 2002-07-11, 04:48
  5. Replies: 0
    Last Post: 2002-06-03, 14:40

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×