×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    81

    Smile how to read all fetch mail silently?

    Hi All Restected,
    NOTE : I have configured my device and emulator for pop3 to send receive mails, all are working fine.
    --------
    Latest I got some instruction about my problem;
    CMsvEntry* MsvEntry = iModel->GetMsvEntryL(EmailIndex - 1);
    CPop3ClientMtm* Pop3Mtm = static_cast<CPop3ClientMtm*>(iModel->iClientReg->NewMtmL(KUidMsgTypePOP3);
    CleanupStack::PushL(Pop3Mtm);
    Pop3Mtm->SwitchCurrentEntryL(MsvEntry->EntryId());
    Pop3Mtm->LoadMessageL();

    here I am confuse about iModel and how should i declare and use?
    If I hardly try to do than i can do it, but my application will terminate when my pointer reach on SwitchCurrentEntryL statement.
    What should i do to over come from this problem.
    --------
    I am trying to read and make a log for all fetch mail from remote server silently.
    I am trying to writing the code TMsvId is making me confuse, approch to use?
    TImPop3GetMailInfo Pop3GetMailInfo; // setup a mail info buffer

    Pop3GetMailInfo.iMaxEmailSize = KMaxTUint;
    Pop3GetMailInfo.iDestinationFolder = iServiceId;
    TPckgBuf<TImPop3GetMailInfo> package(Pop3GetMailInfo);
    MailCommandL(KPOP3MTMCopyAllMailWhenAlreadyConnected,package);

    Any one would you like to help me and guide me how can i do it?
    Please guide me.
    Thanks
    Bye
    Regards Rajat.
    Last edited by mysilversir; 2009-03-28 at 12:58.

Similar Threads

  1. Public API's to read emails from Mail For Exchange
    By Priju Jacob Paul in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-03-20, 06:30
  2. [moved] silently control mail?
    By mysilversir in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2009-02-28, 08:38
  3. Creating new mail mesg. using MTM in 9210
    By Nokia_Archive in forum Symbian
    Replies: 2
    Last Post: 2007-09-20, 11:24
  4. Nokia E70 hangs while trying to read mail
    By Nullover in forum General Development Questions
    Replies: 3
    Last Post: 2006-10-29, 20:11
  5. How To read SMS and dont change its status?
    By -=DeathDealer=- in forum General Messaging
    Replies: 2
    Last Post: 2006-09-02, 07:56

Posting Permissions

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