[thelist] PHP sending HTTP auth to mail server?

Ken Schaefer ken.schaefer at gmail.com
Thu Aug 12 19:38:17 CDT 2004


Sure you could do this. Your HTTP client just needs to understand
Basic or NTLM or Digest (or whatever authentication method you have
selected on your OWA server).

BUT

This will be a real PITA - since you'd need to parse the resulting
HTML that's coming back.

Instead, why don't you use one of the published interfaces (CDO, MAPI)
to get the data you want. That's what those things are there for/ Then
you'd be able to get more than just mail in their inbox - you could
get everything back. If your portal server doesn't do COM, then use a
webservice on the Exchange box to return the necessary data, and call
into the webservice from your portal/intranet server

Cheers
Ken

On Thu, 12 Aug 2004 14:25:44 -0400, Theodore Serbinski
<tserbinski at washsq.com> wrote:
> hi all! got a question. we have our exchange 2000 setup so that there is
>  webmail access.
> 
> i was wondering, if there a way that i can then this username/password
> from a PHP script to this HTTP authentication put out by the webmail?
> 
> i'm working on an intranet type setup and once an employee is logged in,
> if i could just send this login info to the webmail automatically that
> would be great. maybe somehow send HTTP auth headers to it? not sure how
> that all works and even if it is possible. thanks!
> 
> ted


More information about the thelist mailing list