是否有可能创建(生成)一封电子邮件(没有任何 MS COM 对象等 - 例如在 *nix 平台上),这将被 MS Outlook 识别为任务?
问问题
411 次
1 回答
1
从 *nix 平台 - 您真正拥有的唯一选择是使用 EWS 直接与 Exchange 通信,或者拥有一个将 EWS 行为包装起来的中间服务(Exchange Server 2007+)。如果您使用的是旧版本的 Exchange,您可能需要考虑 WebDAV。
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<soap:Header>
<t:RequestServerVersion Version="Exchange2007_SP1"/>
<t:TimeZoneContext>
<t:TimeZoneDefinition Id="Eastern Standard Time"/>
</t:TimeZoneContext>
</soap:Header>
<soap:Body>
<CreateItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Items xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<Task xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
<Subject>This is a recurring task that was created by using the autogenerated EWS proxies.</Subject>
<Body BodyType="Text">This task occurs every week.</Body>
<Recurrence>
<WeeklyRegeneration>
<Interval>1</Interval>
</WeeklyRegeneration>
<NoEndRecurrence>
<StartDate>2006-08-15</StartDate>
</NoEndRecurrence>
</Recurrence>
<StartDate>2006-08-15T14:24:51.3876635-07:00</StartDate>
</Task>
</Items>
</CreateItem>
</soap:Body>
</soap:Envelope>
于 2012-12-05T17:19:33.213 回答