×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    5

    Old mails in local folder deleted when fetching POP3 messages

    Hi,
    I'm implementing a simple client to fetch email via POP3 (I want to get both headers and messages bodies) following
    the main lines of the examples found in
    http://developer.symbian.com/main/do...ssagingEx.pop3
    and the S60_Platform_POP_IMAP_Example_v1_2.
    So, basically (after having setup the POP3 account) I've a state machine in the RunL() method which calls the POP3 MTM InvokeAsyncFunctionL() with these commands:

    - KPOP3MTMConnect
    - KPOP3MTMCopyAllMailWhenAlreadyConnected
    - KPOP3MTMPopulateAll
    - KPOP3MTMDisconnect

    The emails are correctly fetched, but the old ones are somehow removed (I can also see that notifications of
    MMsvSessionObserver::EMsvEntriesDeleted are received). I've noted that if I don't use the KPOP3MTMPopulateAll
    (or KPOP3MTMPopulateNew, the result is the same) command I get all the message headers fetched without having the
    old ones removed: am I missing something about the KPOP3MTMPopulate MTM command?
    There's a way to fetch POP3 messages (both headers and body) without deleting the old ones in the local folder?
    Maybe is there any "restore" operation to be made on the folder when the messages are fetched?

    Thanks in advance for any help (or hint).

    Cheers,
    dave

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,684

    Re: Old mails in local folder deleted when fetching POP3 messages

    Do the removed messages still exist on your mail server?

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    5

    Re: Old mails in local folder deleted when fetching POP3 messages

    Hi wizard_hu_,
    yes, the fetched messages still exist on the mail server (actually I'm using
    gmail POP3 with the "keep Gmail's copy in the Inbox" option enabled).

    regards,
    dave

Similar Threads

  1. Retrieving deleted SMS messages
    By zero-8 in forum General Messaging
    Replies: 1
    Last Post: 2005-10-27, 19:01
  2. 6610 - Delete Messages In Templates Folder
    By dgrunited in forum Symbian
    Replies: 0
    Last Post: 2004-10-26, 18:02
  3. 6610 - Delete Messages In Templates Folder
    By dgrunited in forum Mobile Java General
    Replies: 0
    Last Post: 2004-10-26, 18:01
  4. 6610 - Delete Messages In Templates Folder
    By dgrunited in forum General Development Questions
    Replies: 0
    Last Post: 2004-10-26, 18:00
  5. mmsin folder does not receive mms messages
    By guoxxx1 in forum General Messaging
    Replies: 1
    Last Post: 1970-01-01, 02:00

Posting Permissions

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