login about faq

I'm using the library for iOS and I'm facing a problem:

Even using the method of the search or GetAllUids CkoImap in my Gmail account, the result does not bring all emails.

I do not know what to do. I'm doing the looping in all UIDs.

asked Apr 12 '13 at 17:40

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


To see exactly what is happening, set the KeepSessionLog property = True/Yes, then examine the contents of the SessionLog property after calling GetAllUids.

You can also get more information by examining the contents of the LastErrorText after calling GetAllUids. To get more information, turn on verbose logging by setting the VerboseLogging property = true/yes beforehand.

In this case, the session log will show exactly what is happening.

link

answered Apr 12 '13 at 17:43

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Hello Matt,

This is my log. I still do not understand why no one is bringing email. It has to do with this line? Or with the selection of the flags?

 * OK [UIDNEXT 2713] Predicted next UID.
Thank you.

LOG:

----IMAP REQUEST----
aaae SELECT "INBOX"
----IMAP RESPONSE----
 FLAGS (Answered Flagged Draft Deleted Seen schedulePickedDate Junk scheduleType NotJunk $Junk $Forwarded JunkRecorded $NotJunk)
 OK [PERMANENTFLAGS (Answered Flagged Draft Deleted Seen schedulePickedDate Junk scheduleType NotJunk $Junk $Forwarded JunkRecorded $NotJunk *)] Flags permitted.
 OK [UIDVALIDITY 671552626] UIDs valid.
 9 EXISTS
 0 RECENT
 OK [UIDNEXT 2713] Predicted next UID.
aaae OK [READ-WRITE] INBOX selected. (Success)
----IMAP REQUEST----
aaaf UID FETCH 1: (FLAGS)
----IMAP RESPONSE----
 1 FETCH (UID 2607 FLAGS (Seen))
 2 FETCH (UID 2676 FLAGS (NotJunk $NotJunk Seen))
 3 FETCH (UID 2682 FLAGS (NotJunk $NotJunk Seen))
 4 FETCH (UID 2684 FLAGS (NotJunk $NotJunk))
 5 FETCH (UID 2688 FLAGS (NotJunk $NotJunk))
 6 FETCH (UID 2696 FLAGS (Seen))
 7 FETCH (UID 2697 FLAGS (Seen))
 8 FETCH (UID 2699 FLAGS (Seen))
 9 FETCH (UID 2708 FLAGS (Seen))
aaaf OK Success
2013-04-13 10:36:20.167 Youmail[44051:1b03] ChilkatLog:
  GetAllUids:
    DllDate: Dec 21 2012
    UnlockPrefix:*
    Username: Rodrigos-MacBook-Pro.local:rjunqueira
    Architecture: Little Endian; 32-bit
    Language: IOS Objective-C
    VerboseLogging: 1
    ImapCmdSent: aaaf UID FETCH 1: (FLAGS)
    getCompleteResponse:
      ImapCmdResp: * 1 FETCH (UID 2607 FLAGS (Seen))
      ImapCmdResp: * 2 FETCH (UID 2676 FLAGS (NotJunk $NotJunk Seen))
      ImapCmdResp: * 3 FETCH (UID 2682 FLAGS (NotJunk $NotJunk Seen))
      ImapCmdResp: * 4 FETCH (UID 2684 FLAGS (NotJunk $NotJunk))
      ImapCmdResp: * 5 FETCH (UID 2688 FLAGS (NotJunk $NotJunk))
      ImapCmdResp: * 6 FETCH (UID 2696 FLAGS (Seen))
      ImapCmdResp: * 7 FETCH (UID 2697 FLAGS (Seen))
      ImapCmdResp: * 8 FETCH (UID 2699 FLAGS (Seen))
      ImapCmdResp: * 9 FETCH (UID 2708 FLAGS (Seen))
      ImapCmdResp: aaaf OK Success
    --getCompleteResponse
    numMessages: 9
  --GetAllUids
--ChilkatLog

link

answered Apr 13 '13 at 09:50

Rodrigo%20Junqueira's gravatar image

Rodrigo Junqueira
11236

edited Apr 15 '13 at 12:38

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Please make sure to enclose logs and code within "<pre>" and "</pre>" tags.

(Apr 15 '13 at 12:39) chilkat ♦♦

The log shows that all of the UID's are being returned. My guess is that your impression of what's actually in the INBOX on the server is not correct. See the following Chilkat blog posts about GMail:

Understanding GMail’s Behavior

GMail Settings for POP3 and IMAP Access

link

answered Apr 15 '13 at 12:42

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×174
×28
×7
×2

Asked: Apr 12 '13 at 17:40

Seen: 1,701 times

Last updated: Apr 15 '13 at 12:42

powered by OSQA