Hi Mostafa,<br><br>Thank you for pointing this problem with gmail, I've produced the following patch.<br><br><a 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 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 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>
______________________________<u></u>_________________<br>
clonsigna-devel mailing list<br>
<a href="mailto:clonsigna-devel@common-lisp.net" target="_blank">clonsigna-devel@common-lisp.<u></u>net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clonsigna-devel" target="_blank">http://lists.common-lisp.net/<u></u>cgi-bin/mailman/listinfo/<u></u>clonsigna-devel</a><br>
</blockquote></div><br>