| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi I search an example in C, to connect me to an imap mailbox with the library c-client. I search in google, but there is few responses, and he return always imap4r1.h(c) file So, how to open the stream, connect, maybe list or put datas, and close. Please, help me, or if you have an address where is a example.. Thanks a lot |
|
#2
| |||
| |||
| The interfaces to use are in mail.h, not imap4r1.h. imap4r1.h is an internal file. The specific function that you need is mail_open(). These interfaces are documented to some degress in the internal.txt file which is included in the UW IMAP toolkit distribution. That distribution is always located in: ftp://ftp.cac.washington.edu/mail/imap.tar.Z There is a sample program called mtest which demonstrates the usage of some of the c-client functions. I also recommend looking at the mailutil utility program for a more complex (and hence more useful) example. If you have a third party distribution of c-client, ask the third party where the documentation files and sample programs are located. On Wed, 9 Apr 2008, michel posted: > Hi > > I search an example in C, to connect me to an imap mailbox with the library > c-client. > > I search in google, but there is few responses, and he return always > imap4r1.h(c) file > > So, how to open the stream, connect, maybe list or put datas, and close. > > Please, help me, or if you have an address where is a example.. > > Thanks a lot > > > -- Mark -- http://staff.washington.edu/mrc Science does not emerge from voting, party politics, or public debate. Si vis pacem, para bellum. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.