简体   繁体   中英

Create calendar events in Outlook using PHP

是否可以直接从PHP Web应用程序在Microsoft Outlook中创建日历事件,而无需客户端下载.ics文件?

You can automate Outlook from any standalone applications. See Using Automation to Send a Microsoft Outlook Message for more information.

But Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment.

If you are building a solution that runs in a server-side context, you should try to use components that have been made safe for unattended execution. Or, you should try to find alternatives that allow at least part of the code to run client-side. If you use an Office application from a server-side solution, the application will lack many of the necessary capabilities to run successfully. Additionally, you will be taking risks with the stability of your overall solution.

Read more about that in the Considerations for server-side Automation of Office article.

If you deal with Exchange server profiles, you may consider using EWS. See EWS Managed API, EWS, and web services in Exchange for more information.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM