]> khamidou — GitHub mirrors - imapclient.git/commitdiff
Make it clear that gmail_search only works with Gmail
authorMenno Smits <menno@freshfoo.com>
Tue, 30 Jun 2015 01:10:24 +0000 (13:10 +1200)
committerMenno Smits <menno@freshfoo.com>
Tue, 30 Jun 2015 01:10:24 +0000 (13:10 +1200)
Fixes #151.

imapclient/imapclient.py

index b651d37347b05c822ff160239bed3a9c679c984c..8fc99562ab29ecd7166a0105a7d50247762bacae 100644 (file)
@@ -625,6 +625,9 @@ class IMAPClient(object):
         *query* should be a valid Gmail search query string. For
         example: ``has:attachment in:unread``
 
+        This method only works for IMAP servers that support X-GM-RAW,
+        which is only likely to be Gmail.
+
         See https://developers.google.com/gmail/imap_extensions#extension_of_the_search_command_x-gm-raw
         for more info.