<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Excellent. I applied the patch and it works perfectly. Thank you.<br>
    <br>
    Mostafa<br>
    <br>
    On 03/12/2012 11:46 AM, Andrea Chiumenti wrote:
    <blockquote
cite="mid:CAJkaHim6i7wfjeMgVsvsRboc7BvjBxk5qyiJ=aBR4vC8stv0pg@mail.gmail.com"
      type="cite">Hi Mostafa,<br>
      <br>
      Thank you for pointing this problem with gmail, I've produced the
      following patch.<br>
      <br>
      <a moz-do-not-send="true"
href="http://common-lisp.net/gitweb?p=projects/clonsigna/clonsigna.git;a=commitdiff;h=0a6e693678aff084f0ac097e61a38e09cfd649cb;js=1">http://common-lisp.net/gitweb?p=projects/clonsigna/clonsigna.git;a=commitdiff;h=0a6e693678aff084f0ac097e61a38e09cfd649cb;js=1</a><br>
      <br>
      Summary is:<br>
      some server like GMail don't allow more than one space between
      command arguments, the patch above fixes the problem.<br>
      <br>
      You can use clonsigna git version, or wait for the next version.<br>
      <br>
      Cheers,<br>
      Andrea Chiumenti.<br>
      <br>
      <div class="gmail_quote">2012/3/11 Mostafa Razavi <span dir="ltr"><<a
            moz-do-not-send="true" href="mailto:hom.sepanta@gmail.com">hom.sepanta@gmail.com</a>></span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Hi. Is clongsigna supposed to work with gmail imap server?
          I've wanted to use this code to see how many unread emails I
          have:<br>
          <br>
          (defvar *i* (clonsigna:make-imap :host "<a
            moz-do-not-send="true" href="http://imap.gmail.com"
            target="_blank">imap.gmail.com</a>" :port 993 :ssl-p t))<br>
          (clonsigna:cmd-connect i)<br>
          (clonsigna:cmd-login i "username" "password")<br>
          (clonsigna:cmd-search i :criteria "UnSeen")<br>
          <br>
          But I get a "SERVER-ERROR Could not parse command" error on
          the last line. I tried putting a select command like this
          before cmd-search:<br>
          <br>
          (clonsigna:cmd-select i "inbox")<br>
          <br>
          which succeeded, but still no luck with the search. Am I doing
          something wrong?<br>
          <br>
          Thanks,<br>
          Mostafa<br>
          <br>
          _______________________________________________<br>
          clonsigna-devel mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:clonsigna-devel@common-lisp.net"
            target="_blank">clonsigna-devel@common-lisp.net</a><br>
          <a moz-do-not-send="true"
href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clonsigna-devel"
            target="_blank">http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clonsigna-devel</a><br>
        </blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>