Re: mailimap_lsub problem

Marko Ivancic <[email protected]> Mon, 03 Apr 2006 09:19:45 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Hi Mr. Dinh

This is my mailstrem debug log, I removed only the username and password 
from the log :)
-------------------------------------------------------------------------------
<<<<<<< read <<<<<<
* OK IMAP4 Ready rogatec.arnes.si 0001fabe

<<<<<<< end read <<<<<<
 >>>>>>> send >>>>>>
1 LOGIN user pass

 >>>>>>> end send >>>>>>
<<<<<<< read <<<<<<
1 OK You are so in

<<<<<<< end read <<<<<<
 >>>>>>> send >>>>>>
2 SELECT INBOX

 >>>>>>> end send >>>>>>
<<<<<<< read <<<<<<
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1015940916] UID validity status
* OK [UIDNEXT 1985] Predicted next UID
* FLAGS (Junk NonJunk $Forwarded \Answered \Flagged \Deleted \Draft \Seen)
* OK [PERMANENTFLAGS (Junk NonJunk $Forwarded \* \Answered \Flagged 
\Deleted \Draft \Seen)] Permanent flags
2 OK [READ-WRITE] SELECT completed

<<<<<<< end read <<<<<<
 >>>>>>> send >>>>>>
3 LSUB "" "*"

 >>>>>>> end send >>>>>>
<<<<<<< read <<<<<<
* LSUB () "/" mail/sent-mail
* LSUB () "/" mail/saved-messages
* LSUB () "/" mail
* LSUB () "/" mail/spam
* LSUB () "/" Trash
* LSUB (\NoInferiors) NIL INBOX
* LSUB () "/" "Sent Items"
* LSUB () "/" Drafts
* LSUB () "/" mail/
* LSUB () "/" Sent
3 OK LSUB completed

<<<<<<< end read <<<<<<
--------------------------------------------------------------------------
Tnx,
By
Marko

DINH Viet Hoa wrote:
> Marko Ivancic wrote :
>
>   
>> Tnx Mr. Dinh
>>
>> I always get the mb_flag pointer value as NULL. I have 7 folders on an 
>> imap server only one of these is not NULL but is a selectable folder ( a 
>> folder I can connect on).
>>
>> Mybe is a server side problem ??
>>     
>
> can you use :
>
> {
>   mailstream_debug = 1;
>
>   /* ... */
> }
>
> before calling the libetpan functions and 
> attach the generated libetpan-stream-debug.log file ?
>
>   



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642