[clonsigna-devel] clonsigna and gmail
Andrea Chiumenti
kiuma72 at gmail.com
Mon Mar 12 08:16:53 UTC 2012
Hi Mostafa,
Thank you for pointing this problem with gmail, I've produced the following
patch.
http://common-lisp.net/gitweb?p=projects/clonsigna/clonsigna.git;a=commitdiff;h=0a6e693678aff084f0ac097e61a38e09cfd649cb;js=1
Summary is:
some server like GMail don't allow more than one space between command
arguments, the patch above fixes the problem.
You can use clonsigna git version, or wait for the next version.
Cheers,
Andrea Chiumenti.
2012/3/11 Mostafa Razavi <hom.sepanta at gmail.com>
> 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:
>
> (defvar *i* (clonsigna:make-imap :host "imap.gmail.com" :port 993 :ssl-p
> t))
> (clonsigna:cmd-connect i)
> (clonsigna:cmd-login i "username" "password")
> (clonsigna:cmd-search i :criteria "UnSeen")
>
> 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:
>
> (clonsigna:cmd-select i "inbox")
>
> which succeeded, but still no luck with the search. Am I doing something
> wrong?
>
> Thanks,
> Mostafa
>
> ______________________________**_________________
> clonsigna-devel mailing list
> clonsigna-devel at common-lisp.**net <clonsigna-devel at common-lisp.net>
> http://lists.common-lisp.net/**cgi-bin/mailman/listinfo/**clonsigna-devel<http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clonsigna-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/clonsigna-devel/attachments/20120312/2a45c587/attachment.html>
More information about the clonsigna-devel
mailing list