i have the next code,which i am trying to use to get from the Lotus
Notes Server
which support POP3 but not imap,the full list of user : username+last
name+email adress for the user.
the point is that for some reason ialways get the INBOX of the user
(which i login as an admin!!!) and i get the list of all
the emails that in the inbox instead the listof the users!
why is that?what can i od?
thnaks in advance
peleg
--------

<?php
mbox =
imap_open("{myIp/pop3}","user","pass")
or die("can't connect:
".imap_last_error());

list =
imap_getmailboxes(mbox,"{myIp:110/pop3}","*");



list = imap_list(mbox,
"{192.168.4.222:110/pop3}", "*");
for (i = 1; i <= imap_num_msg(mbox);
i++)
{
header = imap_headerinfo(mbox, i, 80,
80);
fromaddress[i] =
header->from[0]->host;
fromname[i] =
header->from[0]->mailbox;
from[i]=
fromname[i]."".fromaddress[i];

subject[i] =
header->fetchsubject;
print "<br>".from[i]."
".subject[i]." \0n "


imap_close(mbox)

?

--------

Israel the
best place to live in fter Heave

---------------------------------------
The post originated from PHP
Freaks
---------------------------------------
[url]http://www.phpfreaks.com[/url]
[url]http://www.phpfreaks.com/forum[/url]