5 Jul 2008 15:56
IMAP and mailfolder_connect
Hello,
I'm currently wrapping libetpan with a cocoa wrapper (for personal
use) but have run into a strange problem.
When connecting to one of my POP gmail accounts, I can do (inbox
path="INBOX")
f=mailfolder_new(...)
mailfolder_connect(f)
and it works.
But from IMAP(gmail), i get error 31 ( MAIL_ERROR_PARSE,)
i.e. this fails:
BOOL ret=FALSE;
struct mailfolder *older=mailfolder_new(storage, "INBOX",NULL);
int d=mailfolder_connect(older);
if (d==MAIL_NO_ERROR) ret= TRUE;
NSLog( <at> "Error is %d",d);
return ret;
Yet, using the test/frm example, everything works! I can sign on and
and execute create mailfolder_new (no errors), the error happens in
the imap
call to mailfolder_connect.
Any ideas? I am using TLS
Thanks and regards
Saptarshi
--
--
Saptarshi Guha - saptarshi.guha@...
(Continue reading)
RSS Feed