Outlook中的ICS作为.msg文件发送 [英] ICS in Outlook being sent as a .msg file

查看:188
本文介绍了Outlook中的ICS作为.msg文件发送的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,它正在创建类似于以下内容的ICS:

I have an application, it is creating an ICS similar to the following:

BEGIN:VCALENDAR
VERSION:2.0
METHOD:REQUEST
BEGIN:VEVENT
ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:test1234@gmail.com
ORGANIZER:MAILTO:test1234@org.com
DTSTART:20100803T190000Z
DTEND:20100803T200000Z
LOCATION:Go to http://100.200.0.55/Login/ParticipantLogIn.asp and enter
   Conference ID: 0000
SEQUENCE:0
UID:352C75A6-0117-4B3A-AFE6-7B18649CD45A
DTSTAMP:20100803T184455Z
DESCRIPTION:TO ACCESS THE WEB CONFERENCE:\n\n    Click on the link bel
  ow:\n
SUMMARY:Test User's Conference
PRIORITY:5
CLASS:PUBLIC
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR

当发送到Gmail帐户时,它将作为ICS文件发送,并且一切正确.当发送到Outlook 2003或2007时,它作为.msg文件附加,并且是二进制文件.使用的服务器是Windows Server2008.我在其上将ics mime类型设置为 text/calendar .添加它的过程只是在磁盘上创建一个tmp文件,并将其添加为附件,然后使用CDO发送.有谁知道Outlook将其添加为.msg的原因吗?

When sent to a Gmail account it is being sent as an ICS file and everything is correct. When sent to Outlook 2003 or 2007, it is attached as a .msg file and is binary. The server being used is Windows Server 2008. I have set ics mime type as text/calendar on it. The process for adding it is just creating a tmp file on disk and adding it as an attachment, then sending using CDO. Does anyone know any reason why Outlook would be adding it as a .msg?

此外,我们使用相同的交换服务器,并且在Windows Server 2003中也可以正常工作.

Also, we use the same exchange server and it works fine from Windows Server 2003.

使用网络跟踪更新附件

2003

X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4073

Content-Type: application/octet-stream;
    name="meeting.ics"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
    filename="meeting.ics"

2008

X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197
Content-Type: text/calendar;
    name="meeting.ics"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
    filename="meeting.ics"

两者都有四个消息部分:

In both there are four message parts:

  1. 文本
  2. HTML
  3. 附件1
  4. 附件2

在有效的2003版本中,一个是应用程序/八位位组流,一个是日历/文本.在2008年,它们都是日历/文本.

In the 2003 version that works, one is an application/octet stream and one is calendar/text. In 2008 they both are calendar/text.

推荐答案

您将VCALENDAR添加为主要(也是唯一的)MIME部分还是附件之一? 有很大的不同.

Do you add VCALENDAR as the main (and only) MIME part or as one of the attachments? There is a big difference.

这篇关于Outlook中的ICS作为.msg文件发送的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆