i want to create a script which could open gmail account and analyze mails body. for this i want to use IMAP for reading mails and opening gmail account. but i m in a problem to configure IMAP for php.
+1
A:
Unless you're compiling php from the sources yourself look for a php_imap module.
E.g. the win32 build from http://windows.php.net/download/ ships with a php_imap.dll that can be "included" via extension=php_imap.dll in the php.ini.
Many linux distribution have separate packages for various php modules that can be installed through the distribution's package manager (apt, yum, yast, ...)
VolkerK
2009-08-24 08:49:01