使用C#创建Outlook预约 [英] Create an outlook appointment using C#
本文介绍了使用C#创建Outlook预约的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用C#创建一个Outlook预约
我尝试过:
< pre>我尝试过使用microsoft interop ..但它应该在客户机上有前景。
是否可以在不使用客户端Outlook的情况下创建约会。
解决方案
没有。想一想:约会将存储在Outlook数据库中。如果没有安装Outlook,则没有数据库可以将信息存储到...
您需要生成 iCal文件 [ ^ ]并将其发送给客户。幸运的是,有一个开源库可以帮助你做到这一点:
rianjs / ical.net: ical.NET - 面向.NET的开源iCal库 [ ^
Create an outlook appointment using C#
What I have tried:
<pre>I tried with microsoft interop ..but it should have outlook on client machine. Is it possible to create an appointment without using an outlook on client.
解决方案
No. Think about it: the appointment would be stored in the Outlook database. If Outlook isn't installed, there is no database to store the information into...
You'll need to generate an iCal file[^] and send it to the client. Luckily, there's an open-source library which will help you do just that:
rianjs/ical.net: ical.NET - an open source iCal library for .NET[^]
这篇关于使用C#创建Outlook预约的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文