示例/如何使用 Exchange 03 Webdav 和 PHP 创建日历约会?
我已经尝试解决这个问题大约两周了。 我能够在人们的文件夹中创建电子邮件项目,阅读文件夹,所有这些东西,但在我的一生中,我无法让任何东西与日历一起使用。
我可以提供发送到 WebDav 的 XML 示例,但希望有人已经完成此操作并提供示例?
I've been trying to figure this out for about two weeks. I'm able to create email items in people's folders, read the folders, all that stuff but for the life of me I can not get anything to work with the calendars.
I can provide examples of the XML I'm sending to WebDav but hoping someone out there has done this and has an example?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
几年前,我在 Java 程序中做到了这一点,我的做法是将 VCALENDAR 文档放入该文件夹中。 一个怪癖是 VCALENDAR 必须包含在 RFC822 消息中。 它是 WebDAV、电子邮件和 iCAL/VCAL 的奇怪组合,但当时它可以在 Link2Exchange 托管的 Exchange 2003 上运行。
我确信有一种更简单的方法,但这对我有用。 下面我展示了所发生事件的 tcpdump 数据包跟踪。 您可能应该在自己的 Outlook/Entourage 客户端上使用 ngrep/tcpdump 来看看它的作用。
请注意,“Cal2”是我的测试日历文件夹的名称。 您可以使用“日历”作为主日历文件夹。
。
您可以使用 Cadaver 之类的工具通过 WebDAV 查询对象的属性来验证它是否有效,如下所示:
I did this in a Java program a few years back, and the way I did it was to PUT a VCALENDAR document into the folder. One quirk is that the VCALENDAR had to be enclosed within an RFC822 message. It's a bizarre combination of WebDAV, email, and iCAL/VCAL, but it worked at the time on Exchange 2003 hosted at Link2Exchange.
I'm sure there is an easier way, but this is what worked for me. Below I show a tcpdump packet trace of what happened. You should probably use ngrep/tcpdump on your own Outlook/Entourage client to see what it does.
Note that "Cal2" is the name of my test calendar folder. You'd use "Calendar" for the main calendar folder.
.
You can verify that it worked using something like Cadaver to query the object's properties via WebDAV like so:
看看这个
http://golemlab.wordpress.com/2009 /09/13/php-owa-2003-calendar-fun/
have a look at this
http://golemlab.wordpress.com/2009/09/13/php-owa-2003-calendar-fun/