IMAP and mailfolder_connect
"Saptarshi Guha" <[email protected]> Sat, 5 Jul 2008 09:56:36 -0400
| Newsgroups | gmane.mail.libetpan.user |
|---|---|
| Message-ID | <[email protected]> |
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(@"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 - [email protected]
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08