IMAP, POP3 and NNTP functionsIMAP
&reftitle.intro;
These functions are not limited to the IMAP protocol,
despite their name. The underlying c-client library also supports
NNTP, POP3 and local mailbox access
methods.
&reftitle.required;
This extension requires the c-client library to be installed.
Grab the latest version from &url.imap;
and compile it.
You have to copy some files to make sure they are in your link path
(e.g.: /usr/local/lib/) and include directory
(e.g.: /usr/local/include).
The files to copy can be found in the source tree
under imap-200x/c-lient after a succesfull run of
make. Copy c-client.a
to /usr/local/lib/libc-client.a or some other
directory on your link path.
Make sure c-client.a ends up in your link path
under the name libc-client.a.
Copy the following files to /usr/local/include or some
other directory in your include path.
c-client.himap4r1.hrfc822.hmail.hlinkage.henv.henv_unix.hfs.hftl.hmisc.hnntp.hnl.hosdep.hsmtp.htcp.h
The name of env_unix.h depends on your OS.
Make sure to copy this files with following symlinks option.
To build the c-client library with SSL or/and Kerberos support read
the docs supplied with the package.
&reference.imap.configure;
&reftitle.runtime;
&no.config;
&reftitle.resources;
&reference.imap.constants;
&reftitle.seealso;
This document can't go into detail on all the topics touched by
the provided functions. Further information is provided by the
documentation of the c-client library source
(docs/internal.txt). and the following RFC
documents:
RFC2821: Simple Mail
Transfer Protocol (SMTP).
RFC2822: Standard for
ARPA internet text messages.
RFC2060: Internet
Message Access Protocol (IMAP) Version 4rev1.
RFC1939: Post
Office Protocol Version 3 (POP3).
RFC977: Network News
Transfer Protocol (NNTP).
RFC2076: Common
Internet Message Headers.
RFC2045 , RFC2046 , RFC2047 , RFC2048 & RFC2049: Multipurpose
Internet Mail Extensions (MIME).
A detailed overview is also available in the books
Programming Internet Email
by David Wood and Managing
IMAP by Dianna Mullet & Kevin Mullet.
Crashes and startup problems of PHP may be encountered
when loading this extension in conjunction with the recode extension.
See the recode extension for more
information.
&reference.imap.functions;