<tfoot id='3IlT5'></tfoot>
    • <bdo id='3IlT5'></bdo><ul id='3IlT5'></ul>
    1. <legend id='3IlT5'><style id='3IlT5'><dir id='3IlT5'><q id='3IlT5'></q></dir></style></legend>

      <i id='3IlT5'><tr id='3IlT5'><dt id='3IlT5'><q id='3IlT5'><span id='3IlT5'><b id='3IlT5'><form id='3IlT5'><ins id='3IlT5'></ins><ul id='3IlT5'></ul><sub id='3IlT5'></sub></form><legend id='3IlT5'></legend><bdo id='3IlT5'><pre id='3IlT5'><center id='3IlT5'></center></pre></bdo></b><th id='3IlT5'></th></span></q></dt></tr></i><div id='3IlT5'><tfoot id='3IlT5'></tfoot><dl id='3IlT5'><fieldset id='3IlT5'></fieldset></dl></div>

      1. <small id='3IlT5'></small><noframes id='3IlT5'>

      2. 如何在没有 Outlook 的情况下通过邮件发送 Outlook 任务请求?

        How to send Outlook tasks requests by mail without Outlook?(如何在没有 Outlook 的情况下通过邮件发送 Outlook 任务请求?)
          <bdo id='XWq2N'></bdo><ul id='XWq2N'></ul>
          <i id='XWq2N'><tr id='XWq2N'><dt id='XWq2N'><q id='XWq2N'><span id='XWq2N'><b id='XWq2N'><form id='XWq2N'><ins id='XWq2N'></ins><ul id='XWq2N'></ul><sub id='XWq2N'></sub></form><legend id='XWq2N'></legend><bdo id='XWq2N'><pre id='XWq2N'><center id='XWq2N'></center></pre></bdo></b><th id='XWq2N'></th></span></q></dt></tr></i><div id='XWq2N'><tfoot id='XWq2N'></tfoot><dl id='XWq2N'><fieldset id='XWq2N'></fieldset></dl></div>
            <tbody id='XWq2N'></tbody>
            <tfoot id='XWq2N'></tfoot><legend id='XWq2N'><style id='XWq2N'><dir id='XWq2N'><q id='XWq2N'></q></dir></style></legend>

          1. <small id='XWq2N'></small><noframes id='XWq2N'>

                  本文介绍了如何在没有 Outlook 的情况下通过邮件发送 Outlook 任务请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我需要复制 Outlook 特性/功能以向某人发送一些任务请求(see here) 但使用 ASP.NET C# 从网络服务器发送邮件和没有在网络服务器上安装 Outlook(因此无法使用 Outlook 自动化).

                  我已经检查了执行此操作的可能性,将任务发送给某人的常见方法似乎是生成 iCalendar 格式的 .ics 文件,并将该文件包含在邮件中(查看此 stackoverflow 问题).p>

                  效果很好,但是 Outlook 发送的任务不等同:

                  • 事件 (VEVENT) 有开始日期和结束日期(类似于任务),但没有完成"字段(这是有意义的,因为它是事件,而不是任务).
                  • 待办事项 (VTODO) 只有截止日期,没有开始日期或结束日期 Outlook 不支持.

                  我检查了自己 Outlook 在包含任务请求的邮件中究竟发送了什么:它包括一个 winmail.dat 文件(带有 content-type:application/ms-tnef) 编码为 Base64.在那个文件(这是一个二进制文件)里面有一个对 IPM.TaskRequest 的引用,这似乎是我需要的.

                  我检查了网络并找到了一些 TNEF 解析器,但我需要相反的:从 C# 代码生成一个包含任务请求的 TNEF 文件.我想知道是否有办法做到这一点.使用库(无论是否免费)都不是问题.

                  解决方案

                  即使 Outlook 安装在 Web 服务器上,在服务器上使用 Outlook 自动化通常也是一个坏主意.

                  但是,您是否了解过 Exchange Web 服务?它提供了一个完整的对象模型来与 Outlook 集成.显然它与 Outlook 相关(与 ics 不同),但它似乎确实适合您的用例.

                  EWS 概述:http:///msdn.microsoft.com/en-us/library/exchange/dd877045%28v=exchg.140%29.aspx

                  处理任务:http://blogs.msdn.com/b/dhruvkh/archive/2012/04/06/working-with-tasks-using-exchange-web-services.aspx

                  I need to replicate the Outlook feature/functionnality to send some tasks requests to someone (see here) but with mails sent from a webserver using ASP.NET C# and without Outlook installed on the webserver (thus using outlook automation is not possible).

                  I already check what are the possiblities to do this, and it seems a common way to send tasks to someone is to generate an .ics file in iCalendar format, and include that file to the mail (see this stackoverflow question).

                  It works great, however there is no equivalence of tasks sent by outlook :

                  • Events (VEVENT) have a start date and end date (like a task) but no "completion" field (which make sense since it is an event, not a task).
                  • Todos (VTODO) have only a due date, no start date or end date and it is not supported by outlook.

                  I checked myself what Outlook exactly send in a mail containing a task request : It include a winmail.dat file (with content-type:application/ms-tnef) encoded as Base64. Inside that file (which is a binary file) there is a reference to IPM.TaskRequest which seems to be what i need.

                  I checked the web and found some TNEF parsers, but i need the oposite : to generate from C# code a TNEF file that would contains a task request. I would like to know if there is a way to do that. Using a library (free or not) is not an issue.

                  解决方案

                  Even if outlook were installed on the web server, outlook automation on a server is generally a bad idea.

                  However, have you looked at Exchange Web Services? It provides a complete object model to integrate with outlook. Obviously it's tied to outlook (unlike ics), but it does seem to fit your use case.

                  EWS overview: http://msdn.microsoft.com/en-us/library/exchange/dd877045%28v=exchg.140%29.aspx

                  Working with tasks: http://blogs.msdn.com/b/dhruvkh/archive/2012/04/06/working-with-tasks-using-exchange-web-services.aspx

                  这篇关于如何在没有 Outlook 的情况下通过邮件发送 Outlook 任务请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Populate ListBox with a IEnumrable on another thread (winforms)(在另一个线程(winforms)上使用 IEnumrable 填充 ListBox)
                  listbox selected item give me quot; System.Data.DataRowViewquot; , C# winforms(列表框选择的项目给我quot;System.Data.DataRowView, C# Winforms)
                  Cannot remove items from ListBox(无法从列表框中删除项目)
                  Preventing ListBox scrolling to top when updated(更新时防止列表框滚动到顶部)
                  Drag and drop from list to canvas on windows phone with MVVM(使用 MVVM 在 Windows 手机上从列表拖放到画布)
                  Deselection on a WPF listbox with extended selection mode(具有扩展选择模式的 WPF 列表框上的取消选择)
                    <legend id='ooDsH'><style id='ooDsH'><dir id='ooDsH'><q id='ooDsH'></q></dir></style></legend>
                      <tbody id='ooDsH'></tbody>

                      <tfoot id='ooDsH'></tfoot>
                    1. <small id='ooDsH'></small><noframes id='ooDsH'>

                        • <i id='ooDsH'><tr id='ooDsH'><dt id='ooDsH'><q id='ooDsH'><span id='ooDsH'><b id='ooDsH'><form id='ooDsH'><ins id='ooDsH'></ins><ul id='ooDsH'></ul><sub id='ooDsH'></sub></form><legend id='ooDsH'></legend><bdo id='ooDsH'><pre id='ooDsH'><center id='ooDsH'></center></pre></bdo></b><th id='ooDsH'></th></span></q></dt></tr></i><div id='ooDsH'><tfoot id='ooDsH'></tfoot><dl id='ooDsH'><fieldset id='ooDsH'></fieldset></dl></div>

                            <bdo id='ooDsH'></bdo><ul id='ooDsH'></ul>