At 10:34 AM -0700 8/10/02, Carl Keil imposed structure on a stream of
electrons, yielding:
Hey,

I'm trying to write a web page that will go into a certain mailbox on my
SIMS server and read the mail. I want people to be able to update an alert
message on their homepage just by sending a properly formatted email message
to a certain email account. I'm using PHP on a Linux web server. I can
retrieve the email out of the mailbox and read the body of the message, but
when I use the imap_header() function to try to parse the headers of the
message I get nothing. No error, no data. Does anyone know what's going
on? Does SIMS do pop3 in some non-standard way? Can someone tell me how
PHP can determine the sender and the subject of an email in a SIMS mailbox?

I suspect that the 'imap' part of the function name means that it expects to
access mail via IMAP. SIMS doesn't do IMAP.

In principle, one can get the headers of any message via POP3 with the TOP
command, and that does work with SIMS. It may well be that an IMAP-oriented
function has no idea that this is possible. You can probably get a more
complete answer by hunting down PHP experts to grill on the subject.
-- Bill Cole
[EMAIL PROTECTED]

The imap functions work with pop3.  They're just named imap.  When you open
the connection to the mail server you just specify pop3 and the port in the
imap_open() function.  I'm not getting headers back, so maybe PHP doesn't do
this "cleanly" or something.

ck


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[EMAIL PROTECTED]>.
To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]>
Send administrative queries to  <[EMAIL PROTECTED]>

Reply via email to