Calendar
Back March '10 Forward
Sun Mon Tue Wed Thu Fri Sat
  1 3 4 5 6
7 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Quicksearch
Interesting Sites
Creative Commons
Creative Commons License - Some Rights Reserved
Original content in this work is licensed under a Creative Commons License

Outlook Web Access (Exchange) with PHP and cURL


Trackbacks

No Trackbacks

Comments
Display comments as (Linear | Threaded)

i have used the link to logon.
But is there a way cith curl to do a search and get XML info back.
For the calendar for example?
#1 johan on 2009-05-13 13:26 (Reply)
johan, unfortunately I'm not much of a whiz at cURL at all, which was why I had to find someone else's code to help me out with it. I believe the code from Tyler Hall (list item #3) has some comments in it to help with getting information from the calendar. I haven't tried any of it though. I unfortunately wouldn't know how to get it to work. As for getting XML data back, it's doubtful. There is no API, this is basically web-scraping the HTML to decipher what is available. Exchange 2007 supposedly has an API but I don't yet know if it's finalized, nor will I even have a chance to mess around with it until late 4th quarter this year when ours is scheduled to be installed. Since I'd imagine you're using Exchange 2003, I don't think you'll have access to any API or XML data return; at least not without a third party tool installed on the exchange server itself (of which I cannot recommend any particular product, I'm simply making an assumption that one might exist somewhere).
#2 Brendon Kozlowski (Homepage) on 2009-05-14 09:00 (Reply)
You can het XML from the server.
I have an perl script that does the job, but i can't het it to work unther PHP.
You run an dav search, but i am unable to make it work.

Any point will be great
#3 johan on 2009-05-14 10:33 (Reply)
johan:

Unfortunately I'm not very familiar with Exchange. I do not have access to our server except via the Outlook Web Access page(s). I did not know about WebDAV. With our organization's security policies, I'd imagine our WebDAV is locked down, but I can't verify that at the moment. I did find, thanks to Google, some further code - but I don't think it can be run via PHP (unless PHP is installed on a Windows' server, but at that point, I'd have to ask why even use PHP?).

http://www.msexchange.org/articles/Access-Exchange-2000-2003-Mailbox-WebDAV.html

Hopefully that will help you. I'm sorry I can't really help any further.
#4 Brendon Kozlowski (Homepage) on 2009-05-14 20:29 (Reply)

Add Comment

Standard emoticons like :-) and ;-) are converted to images.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

BBCode format allowed