RE: [PHP-DB] imap problem
| From: | Tom Hodder | Date: | Thu, 21 Jun 2001 01:33:38 +0000 |
| Subject: | RE: [PHP-DB] imap problem | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9679@lists.php.net to get a copy of this message | ||
Hi,
It's likely that you need to enable imap support,
if you are using win32 this is relatively simple, all you have to do is get
the dll from the php website and uncomment the lines from the extensions
section of the php.ini file. If you are using unix, then you have to
recompile php with the --imap flag (I think, something like that) although I
had no end of trouble getting this to work,
Regards
Tom Hodder
-----Original Message-----
From: vipin chandran [mailto:whoosh_vc@postmark.net]
Sent: 20 June 2001 18:54
To: php-db@lists.php.net
Subject: [PHP-DB] imap problem
Hi,
I am developing an email reader for IMAP/POP3. But I am getting the
following error when trying to excute the file. I have removed the
comment from the IMAP extensions in the php.ini.
Fatal error: Call to undefined function: imap_open() in conn.inc on
line 6
Contents of conn.inc is as below :
<?
$username = "whoosh_vc";
$password = "crossroads";
$mailserver = "{pop.postmark.net/pop3:110}INBOX";
$link = imap_open($mailserver,$username,$password);
?>
Please help.
Thanx in advance.
vipin chandran
whoosh_vc@postmark.net
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net