Hello, 

 

I tried to crate a small sample application that would receive mail
using IMAP protocol. Please see GetMail.c and Makefile attached.

 

I receive the following message when I run the app:

 

/home/sambuild/TESTS/MAIL> ./test

sambuild

rndhp11i.hcl.com

?Can't open mailbox INBOX: no such mailbox

Mon, 10 Mar 2008 11:32:58 -0500 (EST)

 

 

If I call mail_list(NIL, NIL, "%"), the application dumps core:

 

#0  0x1a700 in $$dyncall_external_20+0 ()

(gdb) where

#0  0x1a700 in $$dyncall_external_20+0 ()

#1  0x339d0 in mail_list (stream=0x0, ref=0x0, pat=0x40001040 "%")

    at mail.c:920

#2  0x1c68c in main () at GetMail.c:169

 

 

So far I was unable to spot a difference between my test example and
mtest.c .

 

Please advise where I went wrong.

 

Thank you, 

Alla 

Attachment: GetMail.c
Description: GetMail.c

Attachment: Makefile
Description: Makefile

_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to