login about faq

The IMAP Search method is not returning what I expect? What is the cause?

asked Aug 16 '13 at 11:01

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


I would recommend the following:

1) Make sure you test with the latest version of Chilkat just to be sure it's not something that could've been an issue with a previous version. I don't recall anything matching this problem description, but it's still possible.

2) Examine the contents of the SessionLog property for the Search method call. Turn on session logging by setting the KeepSessionLog property equal to true. If the session log is too long, you can turn on session logging just prior to calling Search.

The SessionLog shows the exact command sent to the server, and the exact response. There are three possibilities:

1) The session log shows what you expect, but Chilkat does not return what you expect. This would indicate a problem in Chilkat.

2) The session log shows an unexpected command being sent -- again this would indicate a problem in Chilkat.

3) The session log shows the expected command, but an unexpected response -- either the server is behaving incorrectly, or your view of what is actually in the mailbox is incorrect.

If this is GMail, make sure you understand the information here:

http://www.cknotes.com/?p=218

and here:

http://www.cknotes.com/?p=148

link

answered Aug 16 '13 at 11:02

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
×12

Asked: Aug 16 '13 at 11:01

Seen: 1,151 times

Last updated: Aug 16 '13 at 11:02

powered by OSQA